Skip to main content

Interface: CurveToCommand

Vector path command for drawing a cubic Bezier curve.

Properties

PropertyTypeDescription
type"curveTo"Discriminator identifying this option or command shape.
x1numberFirst Bezier control point x-coordinate.
x2numberSecond Bezier control point x-coordinate.
x3numberEnding point x-coordinate.
y1numberFirst Bezier control point y-coordinate.
y2numberSecond Bezier control point y-coordinate.
y3numberEnding point y-coordinate.