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


Top ↑

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.


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.0.024 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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