Graphics::Primitive::Brush
Description of a stroke
- Provided by: libgraphics-primitive-perl (Version: 0.67-1)
- Report a bug
Description of a stroke
Graphics::Primitive::Brush represents the visible trace of 'ink' along a path.
use Graphics::Primitive::Brush;
my $stroke = Graphics::Primitive::Brush->new({
line_cap => 'round',
line_join => 'miter',
width => 2
});
my $new = $brush->derive({ attr => $newvalue });
The returned font will be identical to the cloned one, save the attributes specified.
Cory Watson, "<gphat@cpan.org>"
Copyright 2008-2010 by Cory G Watson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.