logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Contents

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.

perl v5.40.1                                       2025-08-10             PDF::Builder::R...rce::ColorSpace(3pm)

Name

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

       Inherits from PDF::Builder::Basic::PDF::Array

See Also