The type of path command. Possible values include:
Optional
paramsOptional parameters associated with the path command.
Optional
x?: numberThe x-coordinate of the point (or endpoint).
Optional
y?: numberThe y-coordinate of the point (or endpoint).
Optional
c1x?: numberThe x-coordinate of the first control point for curves.
Optional
c1y?: numberThe y-coordinate of the first control point for curves.
Optional
c2x?: numberThe x-coordinate of the second control point for curves.
Optional
c2y?: numberThe y-coordinate of the second control point for curves.
Optional
rx?: numberThe radius of the ellipse's x-axis.
Optional
ry?: numberThe radius of the ellipse's y-axis.
Optional
xThe rotation angle of the ellipse's x-axis.
Optional
largeA flag indicating whether to use the larger arc.
Optional
sweepA flag indicating the direction of the arc.
Represents a path command in Penpot. This interface includes a property for defining the type of command.