API Reference / @gtkx/cairo / PathDataType
Enumeration: PathDataType
Defined in: packages/cairo/src/enums.ts:30
The kind of a segment in a copied path.
Enumeration Members
CLOSE_PATH
CLOSE_PATH:
3
Defined in: packages/cairo/src/enums.ts:383
Closes the current sub-path.
CURVE_TO
CURVE_TO:
2
Defined in: packages/cairo/src/enums.ts:381
Adds a cubic Bézier curve.
LINE_TO
LINE_TO:
1
Defined in: packages/cairo/src/enums.ts:379
Adds a straight line.
MOVE_TO
MOVE_TO:
0
Defined in: packages/cairo/src/enums.ts:377
Starts a new sub-path.