]> git.imager.perl.org - imager.git/blobdiff - lib/Imager/Transform.pm
add more pod coverage tests (and the coverage needed)
[imager.git] / lib / Imager / Transform.pm
index 4563d340c02be7b47df96338bfe32114fc5e21a4..4c43abbe1f7f2be02e4ba87f2083b576b1b847ad 100644 (file)
@@ -500,6 +500,16 @@ depending on content.
 The list contains hashrefs, which current contain only one member,
 desc, a description of the use of the input image.
 
+=item $tran->constants
+
+Return's a list of names of constants that can be set for the
+transformation.
+
+=item $tran->constants($name, $name, ...)
+
+Returns a hashref for each named constant, which contains the default
+in key C<default> and a description in key C<desc>.
+
 =item my $out = $tran->transform(\%opts, \%constants, @imgs)
 
 Perform the image transformation.