DESCRIPTIONGeometry::Primitive::Circle represents an ellipse with equal width and height.
my $circle = Geometry::Primitive::Circle->new(
radius => 15
originSet/Get the origin of this circle.
radiusSet/Get the radius of this circle.
newCreates a new Geometry::Primitive::Circle
areaReturns the area of this circle.
circumferenceReturns the circumference of this circle.
diameterReturns the diameter of this circle
scale ($amount)Returns a new circle whose radius is $amount times bigger than this one.
point_endSet/Get the ``end'' point of this cicle. Calls "point_start".
point_startSet/Get the ``start'' point of this cicle. Returns the point at the circle's origin X coordinate and the origin Y coordinate + radius / 2.
AUTHORCory Watson <[email protected]>
COPYRIGHT & LICENSEYou can redistribute and/or modify this code under the same terms as Perl itself.