Documentation
    Preparing search index...

    Interface PathCubicCommand

    A cubic Bézier from the current point (§51 "cubic Bézier").

    interface PathCubicCommand {
        control1X: number;
        control1Y: number;
        control2X: number;
        control2Y: number;
        kind: "cubic";
        x: number;
        y: number;
    }
    Index
    control1X: number

    Horizontal coordinate of the control point leaving the current point.

    control1Y: number

    Vertical coordinate of the control point leaving the current point.

    control2X: number

    Horizontal coordinate of the control point entering the end point.

    control2Y: number

    Vertical coordinate of the control point entering the end point.

    kind: "cubic"
    x: number

    Horizontal coordinate of the curve's end.

    y: number

    Vertical coordinate of the curve's end.