phpdftk API Documentation

Color

Table of Contents

Interfaces

ColorInterface
Common contract for PDF color operands — used by ContentStream color operators.

Classes

CmykColor
CMYK color with components in 0.0–1.0 range — maps to PDF DeviceCMYK.
ColorConverter
Lossless color model conversions between RGB, CMYK, and Gray.
GrayColor
Grayscale color (0.0 = black, 1.0 = white) — maps to PDF DeviceGray.
RgbColor
RGB color with components in 0.0–1.0 range — maps to PDF DeviceRGB.

        
On this page

Search results