| Graphics-Primitive documentation | Contained in the Graphics-Primitive distribution. |
Graphics::Primitive::Operation::Fill - Paint inside a path
Graphics::Primitive::Operation::Fill represents a fill operation to be performed on a path.
use Graphics::Primitive::Operation::Fill; my $fill = Graphics::Primitive::Operation::Fill->new; $fill->paint(Graphics::Primitive::Paint::Solid->new);
Creates a new Graphics::Primitive::Operation::Fill.
Set/Get the Paint to use for this fill.
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.
| Graphics-Primitive documentation | Contained in the Graphics-Primitive distribution. |
package Graphics::Primitive::Operation::Fill; use Moose; use MooseX::Storage; extends 'Graphics::Primitive::Operation'; with 'MooseX::Clone'; with Storage (format => 'JSON', io => 'File'); has paint => ( isa => 'Graphics::Primitive::Paint', is => 'rw', required => 1, traits => [qw(Clone)] ); __PACKAGE__->meta->make_immutable; no Moose; 1; __END__