TCPDF::setSpotColor( $type, $name, $tint = 100 )
Set the spot color for the specified type (‘draw’, ‘fill’, ‘text’).
Description Description
Parameters Parameters
- $type
-
(Required) (string) Type of object affected by this color: ('draw', 'fill', 'text').
- $name
-
(Required) (string) Name of the spot color.
- $tint
-
(Optional) (float) Intensity of the color (from 0 to 100 ; 100 = full intensity by default).
Default value: 100
Return Return
((string)) PDF color command.
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
5.9.125 | Introduced. |