| Parameter | Description |
|---|---|
| from | The starting position of the line segment |
| to | The ending position of the line segment |
BezierPathSegment[] A BezierPathSegment array of two elements, configured in a straight line
Builds a line path segment.
The control points are spaced out equally to maintain a constant speed on t