The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

METHODS

new

$cs = PDF::Builder::Resource::ColorSpace->new($pdf, $key, %opts)

    Returns a new colorspace object, base class for all colorspaces.

name

$name = $res->name($name) # Set

$name = $res->name() # Get

    Returns or sets the Name of the resource.

param

@param = $cs->param(@param)

    Returns properly formatted color-parameters based on the colorspace.