DOKK / manpages / debian 11 / libpdf-builder-perl / PDF::Builder::Resource::ColorSpace.3pm.en
PDF::Builder::Resource::ColorSpace(3pm) User Contributed Perl Documentation PDF::Builder::Resource::ColorSpace(3pm)

PDF::Builder::Resource::ColorSpace - Base class for PDF color spaces

$cs = PDF::Builder::Resource::ColorSpace->new($pdf, $key, %opts)
$cs = PDF::Builder::Resource::ColorSpace->new($pdf, $key)
Returns a new colorspace object, base class for all colorspaces.
$name = $res->name($name)
$name = $res->name()
Returns or sets the Name of the resource.
@param = $cs->param(@param)
Returns properly formatted color-parameters based on the colorspace.
2021-03-28 perl v5.32.1