Spot colors

Informations

Author: Olivier
License: FPDF

Description

This script allows to use spot colors (used in professional printing). You define a spot color with:

AddSpotColor(string name, int c, int m, int y, int k)

where c, m, y and k are the equivalent CMYK components. Then you select it with:

SetDrawSpotColor(string name [, int tint])
SetFillSpotColor(string name [, int tint])
SetTextSpotColor(string name [, int tint])

where tint is the intensity of the color (100 by default, i.e. full intensity).