Graphics::Primitive::Paint::Solid.3pm

Langue: en

Version: 2010-03-22 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

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> Copyright 2008-2009 by Cory G Watson.

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