Skip to content

API Reference / @gtkx/cairo / PathDataType

Enumeration: PathDataType ​

Defined in: enums.d.ts:30

The kind of a segment in a copied path.

Enumeration Members ​

CLOSE_PATH ​

CLOSE_PATH: 3

Defined in: enums.d.ts:361

Closes the current sub-path.


CURVE_TO ​

CURVE_TO: 2

Defined in: enums.d.ts:359

Adds a cubic Bézier curve.


LINE_TO ​

LINE_TO: 1

Defined in: enums.d.ts:357

Adds a straight line.


MOVE_TO ​

MOVE_TO: 0

Defined in: enums.d.ts:355

Starts a new sub-path.