The sub curve is used to trim a base curve from an input start point to an end point. The start and end points can be determined from inputting the distances along the base curve to the start and end points, respectively. If the start and end points are not exactly on the curve, the point on the base curve nearest to the input points will be used.
Mixins
CurveMixin
InkStrokedMixin
BasePart
Canonicals
Name
Type
Description
point1
point
Point on the base curve at the start of the trim.
point2
point
Point on the base curve at the end of the trim.
Parameters
Name
Type
Description
curve
part
Required. Base curve part used for trimming.
distance1
number
Distance along the base curve from the start point of the base curve to the start of the new subCurve.
distance2
number
Distance along the base curve from the start point of the base curve to the end of the new subCurve.
reverse?
boolean
If True, reverses the direction of the result. The default value is False.