DESCRIPTIONGeometry::Primitive::Bezier represents a cubic Bezier curve.
my $line = Geometry::Primitive::Bezier->new(
start => $point1,
control1 => $point2,
control2 => $point3,
end => $point4
control1Set/Get the first control point of the curve.
control2Set/Get the second control point of the curve.
endSet/Get the end point of the curve.
startSet/Get the start point of the line.
newCreates a new Geometry::Primitive::Bezier
growDoes nothing, as I'm not sure how. Patches or hints welcome.
point_endGet the end point. Provided for Shape role.
point_startGet the start point. Provided for Shape role.
scaleScales this curve by the amount provided. Multiplies each coordinate by the amount.
AUTHORCory Watson <[email protected]>
COPYRIGHT & LICENSEYou can redistribute and/or modify this code under the same terms as Perl itself.