Öffentliche, statische Methoden | |
static | getSpotColor ($name, &$spotc) |
static | convertHTMLColorToDec ($hcolor, &$spotc, $defcol=array('R'=>128,'G'=>128,'B'=>128)) |
static | getColorStringFromArray ($c) |
static | _JScolor ($color) |
Statische öffentliche Attribute | |
static | $webcolor |
static | $jscolor = array ('transparent', 'black', 'white', 'red', 'green', 'blue', 'cyan', 'magenta', 'yellow', 'dkGray', 'gray', 'ltGray') |
static | $spotcolor |
PHP color class for TCPDF
Definiert in Zeile 48 der Datei tcpdf_colors.php.
|
static |
Convert color to javascript color.
$color | (string) color name or "#RRGGBB" |
Definiert in Zeile 446 der Datei tcpdf_colors.php.
Benutzt $jscolor.
Wird benutzt von TCPDF\_addfield().
|
static |
Returns an array (RGB or CMYK) from an html color name, or a six-digit (i.e. #3FE5AA), or three-digit (i.e. #7FF) hexadecimal color, or a javascript color array, or javascript color name.
$hcolor | (string) HTML color. |
$spotc | (array) Reference to an array of spot colors. |
$defcol | (array) Color to return in case of error. |
Definiert in Zeile 273 der Datei tcpdf_colors.php.
Wird benutzt von TCPDF_STATIC\getAnnotOptFromJSProp(), TCPDF\getCSSBorderStyle(), TCPDF\getHtmlDomArray(), TCPDF\setSVGStyles() und TCPDF\startSVGElementHandler().
|
static |
Convert a color array into a string representation.
$c | (array) Array of colors. |
Definiert in Zeile 415 der Datei tcpdf_colors.php.
|
static |
Return the Spot color array.
$name | (string) Name of the spot color. |
$spotc | (array) Reference to an array of spot colors. |
Definiert in Zeile 249 der Datei tcpdf_colors.php.
Wird benutzt von TCPDF\colorRegistrationBar() und TCPDF\setSpotColor().
|
static |
Array of valid JavaScript color names static
Definiert in Zeile 210 der Datei tcpdf_colors.php.
Wird benutzt von _JScolor().
|
static |
Array of Spot colors (C,M,Y,K,name) Color keys must be in lowercase and without spaces. As long as no open standard for spot colours exists, you have to buy a colour book by one of the colour manufacturers and insert the values and names of spot colours directly. Common industry standard spot colors are: ANPA-COLOR, DIC, FOCOLTONE, GCMI, HKS, PANTONE, TOYO, TRUMATCH. static
Definiert in Zeile 219 der Datei tcpdf_colors.php.
|
static |
Array of WEB safe colors static
Definiert in Zeile 54 der Datei tcpdf_colors.php.