Skip to content

PathCommandType enumeration

Describes the type of a path command.

public enum PathCommandType : byte
name value description
MoveTo 0 Starts a new sub-path at (X0, Y0).
LineTo 1 Draws a straight line to (X0, Y0).
BezierTo 2 Draws a cubic Bezier curve with control points (X0, Y0) and (X1, Y1) to (X2, Y2).
Close 3 Closes the current sub-path with a straight line back to its start.