ColorInterface
in
Common contract for PDF color operands — used by ContentStream color operators.
getColorSpace() returns the PDF name (DeviceRGB, DeviceCMYK, DeviceGray)
and toArray() returns component values in the order PDF operators expect.
Table of Contents
Methods
- getColorSpace() : string
- toArray() : array<int, float>
Methods
getColorSpace()
public
getColorSpace() : string
Return values
stringtoArray()
public
toArray() : array<int, float>