Path Command

PathCommand

A command to modify a 2D path

Nodes that output this type

Path Command Cardinal Cubic To

A command for a path to draw a Cardinal Cubic spline to a point.

→ PathCommand

Path Command Catmull-Rom To

A command for a path to draw a Catmull-Rom spline to a point.

→ PathCommand

Path Command Cubic Bézier To

A command for a path to draw a cubic Bézier curve to a point, shaped by two control points.

→ PathCommand

Path Command Line To

A command for a path to draw a line to a point.

→ PathCommand

Path Command Move To

A command for a path to move to a point.

→ PathCommand

Path Command Quadratic Bézier To

A command for a path to draw a quadratic Bézier curve to a point, bent toward a control point.

→ PathCommand

Path Command With Altitude Angle

Returns this path command with its end point's altitude angle replaced.

→ PathCommand

Path Command With Azimuth Angle

Returns this path command with its end point's azimuth angle replaced.

→ PathCommand

Path Command With Control Point

Returns this quadratic Bézier command with its control point replaced. Only works on quadratic Bézier commands and fails on any other type.

→ PathCommand

Path Command With Control Point 1

Returns this cubic Bézier command with its first control point replaced. Only works on cubic Bézier commands and fails on any other type.

→ PathCommand

Path Command With Control Point 2

Returns this cubic Bézier command with its second control point replaced. Only works on cubic Bézier commands and fails on any other type.

→ PathCommand

Path Command With Coordinate

Returns this path command with its end point's coordinate replaced.

→ PathCommand

Path Command With Pressure

Returns this path command with its end point's pressure replaced.

→ PathCommand

Path Command With Time

Returns this path command with its end point's time replaced.

→ PathCommand

Nodes that accept this type as input

Path Command Altitude Angle

Gets the altitude angle of this path command's end point, in radians.

→ Float

Path Command Azimuth Angle

Gets the azimuth angle of this path command's end point, in radians.

→ Float

Path Command Control Point

Gets the control point of a quadratic Bézier command. Only works on quadratic Bézier commands and fails on any other type.

→ Point2f

Path Command Control Point 1

Gets the first control point of a cubic Bézier command. Only works on cubic Bézier commands and fails on any other type.

→ Point2f

Path Command Control Point 2

Gets the second control point of a cubic Bézier command. Only works on cubic Bézier commands and fails on any other type.

→ Point2f

Path Command Coordinate

Gets the coordinate of this path command's end point.

→ Point2f

Path Command Is Cardinal Cubic

Returns whether this path command is a Cardinal Cubic command.

→ Bool

Path Command Is Catmull-Rom

Returns whether this path command is a Catmull-Rom command.

→ Bool

Path Command Is Cubic Bézier

Returns whether this path command is a cubic Bézier command.

→ Bool

Path Command Is Line

Returns whether this path command is a line to command.

→ Bool

Path Command Is Move

Returns whether this path command is a move to command.

→ Bool

Path Command Is Quadratic Bézier

Returns whether this path command is a quadratic Bézier command.

→ Bool

Path Command Pressure

Gets the pressure of this path command's end point, from 0 to 1.

→ Float

Path Command Time

Gets the time of this path command's end point.

→ Float

Path Command With Altitude Angle

Returns this path command with its end point's altitude angle replaced.

→ PathCommand

Path Command With Azimuth Angle

Returns this path command with its end point's azimuth angle replaced.

→ PathCommand

Path Command With Control Point

Returns this quadratic Bézier command with its control point replaced. Only works on quadratic Bézier commands and fails on any other type.

→ PathCommand

Path Command With Control Point 1

Returns this cubic Bézier command with its first control point replaced. Only works on cubic Bézier commands and fails on any other type.

→ PathCommand

Path Command With Control Point 2

Returns this cubic Bézier command with its second control point replaced. Only works on cubic Bézier commands and fails on any other type.

→ PathCommand

Path Command With Coordinate

Returns this path command with its end point's coordinate replaced.

→ PathCommand

Path Command With Pressure

Returns this path command with its end point's pressure replaced.

→ PathCommand

Path Command With Time

Returns this path command with its end point's time replaced.

→ PathCommand