SpotColor
in package
FinalYes
Handle for a registered spot color. Bundles the colorant name with the {@see Separation} value object so {@see Writer\Page::useSpotColor()} can register it on a page under a stable resource name.
Returned by PdfDoc::registerSpotColor(). Treat as opaque —
pass it to a page's useSpotColor() to obtain the resource name to
feed into ContentStream::setFillColorSpace() /
setStrokeColorSpace().
Table of Contents
Properties
- $name : string
- $separation : Separation
Methods
- __construct() : mixed
Properties
$name read-only
public
string
$name
$separation read-only
public
Separation
$separation
Methods
__construct()
public
__construct(string $name, Separation $separation) : mixed
Parameters
- $name : string
- $separation : Separation