Graphics::Primitive::Operation - A drawing instruction


Graphics-Primitive documentation Contained in the Graphics-Primitive distribution.

Index


Code Index:

NAME

Top

Graphics::Primitive::Operation - A drawing instruction

DESCRIPTION

Top

Graphics::Primitive::Operation is the base class for operations. An operation is an action that is performed on a path such as a Fill or Fill.

METHODS

Top

preserve

Informs the canvas to not clear the current path when performing this operation. Also provides a hint to the driver.

AUTHOR

Top

Cory Watson <gphat@cpan.org>

COPYRIGHT & LICENSE

Top


Graphics-Primitive documentation Contained in the Graphics-Primitive distribution.

package Graphics::Primitive::Operation;
use Moose;

has 'preserve' => (
    isa => 'Bool',
    is  => 'rw',
    default =>  sub { 0 },
);

__PACKAGE__->meta->make_immutable;

no Moose;
1;