Skip to content
Document Authoring DA  API Docs v1.18.0
npmGitHub

ShapeCustomGeometrySegmentCubic

ShapeCustomGeometrySegmentCubic:

Draws a cubic Bézier curve from the current point to to, shaped by the control points c1 and c2.

type: "cubic"

Discriminant for the segment kind.


c1: ShapeCustomGeometryPoint

The first control point.


c2: ShapeCustomGeometryPoint

The second control point.


to: ShapeCustomGeometryPoint

The end point of the curve.