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


Top ↑

Return Return

((string)) PDF color command.


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.9.125 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.