Cory Watson > Graphics-Primitive-0.44 > Graphics::Primitive::Paint::Solid

Download:
Graphics-Primitive-0.44.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: Graphics-Primitive-0.46

NAME ^

Graphics::Primitive::Paint::Solid - Solid patch of color

DESCRIPTION ^

Graphics::Primitive::Paint::Solid represents a solid color.

SYNOPSIS ^

  use Graphics::Primitive::Paint::Solid;

  my $solid = Graphics::Primitive::Solid->new;
  $solid->color(Graphics::Color::RGB->new(red => 1, green => 0, blue => 0));

METHODS ^

Constructor

new

Creates a new Graphics::Primitive::Solid

Instance Methods

color

Get/Set the color of this solid

AUTHOR ^

Cory Watson <gphat@cpan.org>

Infinity Interactive, http://www.iinteractive.com

COPYRIGHT & LICENSE ^

Copyright 2008 by Infinity Interactive, Inc.

http://www.iinteractive.com

You can redistribute and/or modify this code under the same terms as Perl itself.