
Geometry::Primitive::Bezier - Cubic Bézier Curve

Geometry::Primitive::Bezier represents a cubic Bézier curve.

use Geometry::Primitive::Bezier;
my $line = Geometry::Primitive::Bezier->new(
start => $point1,
control1 => $point2,
control2 => $point3,
end => $point4
);

Creates a new Geometry::Primitive::Bezier
Set/Get the first control point of the curve.
Set/Get the second control point of the curve.
Set/Get the end point of the curve.
Does nothing, as I'm not sure how. Patches or hints welcome.
Get the end point. Provided for Shape role.
Get the start point. Provided for Shape role.
Scales this curve by the amount provided. Multiplies each coordinate by the amount.
Set/Get the start point of the line.
Guess!

Cory Watson <gphat@cpan.org>

You can redistribute and/or modify this code under the same terms as Perl itself.