PDF::API2::Resource::ColorSpace (3)
Leading comments
Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32)
Standard preamble:
========================================================================
(The comments found at the beginning of the groff file "man3/PDF::API2::Resource::ColorSpace.3pm".)
NAME
PDF::API2::Resource::ColorSpace - Base class for PDF color spaces
METHODS
- $cs = PDF::API2::Resource::ColorSpace->new $pdf, $key, %parameters
-
Returns a new colorspace object. base class for all colorspaces.
- $cs = PDF::API2::Resource::ColorSpace->new_api $api, $name
-
Returns a color-space object. This method is different from 'new' that
it needs an PDF::API2-object rather than a Text::PDF::File-object.
- $name = $res->name $name
-
Returns or sets the Name of the resource.
- @param = $cs->param @param
-
Returns properly formatted color-parameters based on the colorspace.