Chart::Clicker::Drawing::Stroke
Chart::Clicker::Drawing::Stroke represents the decorative outline around a component. Since a line is infinitely small, we need some sort of outline to be able to see it!
use Chart::Clicker::Drawing::Stroke qw(:line_caps :line_joins); my $stroke = new Chart::Clicker::Drawing::Stroke({ line_cap => $CC_LINE_CAP_ROUND, line_join => $CC_LINE_JOIN_MITER, width => 2 });
$CC_LINE_CAP_BUTT $CC_LINE_CAP_ROUND $CC_LINE_CAP_SQUARE
$CC_LINE_JOIN_MITER $CC_LINE_JOIN_ROUND $CC_LINE_JOIN_BEVEL
Creates a new Chart::Clicker::Decoration::Stroke. If no options are provided the width defaults to 1, the line_cap defaults to $CC_LINE_CAP_BUTT and the line_join defaults to $CC_LINE_JOIN_MITER.
Set/Get the line_cap of this stroke.
Set/Get the line_join of this stroke.
Set/Get the width of this stroke.
Cory 'G' Watson <gphat@cpan.org>
perl(1)
You can redistribute and/or modify this code under the same terms as Perl itself.
To install Chart::Clicker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::Clicker
CPAN shell
perl -MCPAN -e shell install Chart::Clicker
For more information on module installation, please visit the detailed CPAN module installation guide.