phpdftk API Documentation

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

Methods


        
On this page

Search results