Cubic Bezier Segment
constructor(startPoint: Point, controlPoint1: Point, controlPoint2: Point, endPoint: Point, spatialReference: SpatialReference? = null)
Creates a bezier segment based on a start and end point and two control points at tangents to the start and end points. The spatial reference parameter is used if the points have a null spatial reference. If more than one spatial reference is supplied (as a parameter or as a property of a Point parameter), they must all be equal.
The z-value and m-value of the start and end points (if present) are used in the CubicBezierSegment. The z-value and m-value of the control points (if present) are ignored.
Since
200.1.0
Parameters
start Point
The start point of the segment.
control Point1
A point tangent to the start of the segment.
control Point2
A point tangent to the end of the segment.
end Point
The end point of the segment.
spatial Reference
A spatial reference to use for the segment if the points do not have spatial references set.