summaryrefslogtreecommitdiff
path: root/lib/PDF/Builder/Resource/ColorSpace/Separation.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PDF/Builder/Resource/ColorSpace/Separation.pm')
-rw-r--r--lib/PDF/Builder/Resource/ColorSpace/Separation.pm32
1 files changed, 22 insertions, 10 deletions
diff --git a/lib/PDF/Builder/Resource/ColorSpace/Separation.pm b/lib/PDF/Builder/Resource/ColorSpace/Separation.pm
index 5d63931..dc47a14 100644
--- a/lib/PDF/Builder/Resource/ColorSpace/Separation.pm
+++ b/lib/PDF/Builder/Resource/ColorSpace/Separation.pm
@@ -5,8 +5,8 @@ use base 'PDF::Builder::Resource::ColorSpace';
use strict;
use warnings;
-our $VERSION = '3.025'; # VERSION
-our $LAST_UPDATE = '3.024'; # manually update whenever code is changed
+our $VERSION = '3.026'; # VERSION
+our $LAST_UPDATE = '3.026'; # manually update whenever code is changed
use PDF::Builder::Basic::PDF::Utils;
use PDF::Builder::Util;
@@ -18,12 +18,16 @@ PDF::Builder::Resource::ColorSpace::Separation - Support for color space separat
=head1 METHODS
-=over
+=head2 new
+
+ $cs = PDF::Builder::Resource::ColorSpace::Separation->new($pdf, $key, @colors)
-=item $cs = PDF::Builder::Resource::ColorSpace::Separation->new($pdf, $key, @colors)
+=over
Returns a new colorspace object.
+=back
+
=cut
sub new {
@@ -114,10 +118,16 @@ sub new {
return $self;
}
-=item @color = $res->color()
+=head2 color
+
+ @color = $res->color()
+
+=over
Returns the base-color of the Separation-Colorspace.
+=back
+
=cut
sub color {
@@ -129,10 +139,16 @@ sub color {
return @{$self->{' color'}};
}
-=item $tintname = $res->tintname($tintname)
+=head2 tintname
+
+ $tintname = $res->tintname($tintname)
+
+=over
Returns the tint-name of the Separation-Colorspace.
+=back
+
=cut
sub tintname {
@@ -150,8 +166,4 @@ sub param {
return $_[0];
}
-=back
-
-=cut
-
1;