The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PDF::Template::Element

PURPOSE

To provide a base class for all rendering nodes.

COLORS

This is the class that handles colors. Colors in PDF::Template are specified in RGB format, comma-separated. Each number is from 0 to 255, with 0 being none and 255 being most. If a color is not specified, 0 is assumed. Thus, "255,0,0", "255,0", and "255" will all result in a red color.

Colors should be used for all attributes that have the word "COLOR" in the name. This includes (but may not be limited to):

  • COLOR

  • FILLCOLOR

SEE ALSO