The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Chart::Clicker::Shape::Arc

DESCRIPTION

Chart::Clicker::Shape::Arc represents an arc.

SYNOPSIS

 use Chart::Clicker::Shape::Arc;

 my $arc = 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)