- COPYRIGHT & LICENSE
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 );
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.
Set/Get the start point of the line.
Creates a new Geometry::Primitive::Bezier
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.
Cory Watson <email@example.com>
You can redistribute and/or modify this code under the same terms as Perl itself.