BezierCurve

Base Type: Segment

A class for a non-linear segment defined by four control points.

Property

Type

Description

ControlPointArray

Point[]

The set of the Bezier curve's control points from an array of between 1 to 4 input points. See Remarks below for more information.

Degree

int

The degree of the Bezier curve. For third degree Beziers, this is always 3.

Remarks

A Bezier curve starts at control point 0 and ends at control point 3. Control points 0 and 1 define the tangent at the from point and control points 2 and 3 define the tangent at the to point. The length of these tangent lines and position of the control points determines the shape of the curve.

Bezier Curves

2/28/2020