NAME
Chart::Clicker::Shape::Arc
DESCRIPTION
Chart::Clicker::Shape::Arc represents an arc.
SYNOPSIS
use Chart::Clicker::Shape::Arc;
my $arc = new Chart::Clicker::Shape::Arc({
angle1 => 0,
angle2 => 360,
ragius => 5
});
METHODS
Constructor
- new
-
Creates a new Chart::Clicker::Arc.
Class Methods
- angle1
-
Set/Get the starting angle for this arc.
- angle2
-
Set/Get the ending angle for this arc.
- radius
-
Set/Get the radius for this arc.
- create_path
-
$arc->create_path($cairo, $x, $y);
Creates a path using this arcs attributes.
AUTHOR
Cory 'G' Watson <gphat@cpan.org>
SEE ALSO
perl(1)
LICENSE
You can redistribute and/or modify this code under the same terms as Perl itself.