TCPDF::AddSpotColor( $name, $c, $m, $y, $k )
Defines a new spot color.
Description Description
It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.
See also See also
- SetDrawSpotColor(),: SetFillSpotColor(), SetTextSpotColor()
Parameters Parameters
- $name
-
(Required) (string) Full name of the spot color.
- $c
-
(Required) (float) Cyan color for CMYK. Value between 0 and 100.
- $m
-
(Required) (float) Magenta color for CMYK. Value between 0 and 100.
- $y
-
(Required) (float) Yellow color for CMYK. Value between 0 and 100.
- $k
-
(Required) (float) Key (Black) color for CMYK. Value between 0 and 100.
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
4.0.024 | Introduced. |