TCPDF::colorRegistrationBar( $x, $y, $w, $h, $transition = true, $vertical = false, $colors = 'A,R,G,B,C,M,Y,K' )
Paints color transition registration bars
Description Description
Parameters Parameters
- $x
-
(Required) (float) abscissa of the top left corner of the rectangle.
- $y
-
(Required) (float) ordinate of the top left corner of the rectangle.
- $w
-
(Required) (float) width of the rectangle.
- $h
-
(Required) (float) height of the rectangle.
- $transition
-
(Optional) (boolean) if true prints tcolor transitions to white.
Default value: true
- $vertical
-
(Optional) (boolean) if true prints bar vertically.
Default value: false
- $colors
-
(Optional) (string) colors to print separated by comma. Valid values are: A,W,R,G,B,C,M,Y,K,RGB,CMYK,ALL,ALLSPOT,<SPOT_COLOR_NAME>. Where: A = grayscale black, W = grayscale white, R = RGB red, G RGB green, B RGB blue, C = CMYK cyan, M = CMYK magenta, Y = CMYK yellow, K = CMYK key/black, RGB = RGB registration color, CMYK = CMYK registration color, ALL = Spot registration color, ALLSPOT = print all defined spot colors, <SPOT_COLOR_NAME> = name of the spot color to print.
Default value: 'A,R,G,B,C,M,Y,K'
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
4.9.000 | Introduced. |