Graphics::Primitive::Paint::Solid - Solid patch of color
Contents
Copyright & License
Copyright 2008-2010 by Cory G Watson.
You can redistribute and/or modify this code under the same terms as Perl itself.
perl v5.34.0 2022-06-14 Graphics::Primitive::Paint::Solid(3pm)
Description
Graphics::Primitive::Paint::Solid represents a solid color.
Methods
Constructornew Creates a new Graphics::Primitive::Solid
InstanceMethodscolor
Get/Set the color of this solid
Name
Graphics::Primitive::Paint::Solid - Solid patch of 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));
