API Reference / @gtkx/cairo / CurveToSegment
Type Alias: CurveToSegment
CurveToSegment =
object
Defined in: types.d.ts:64
A path segment drawing a cubic Bézier curve through two control points to an end point.
Properties
type
type:
"curveTo"
Defined in: types.d.ts:66
Tag of the segment.
x1
x1:
number
Defined in: types.d.ts:68
Horizontal position of the first control point.
x2
x2:
number
Defined in: types.d.ts:72
Horizontal position of the second control point.
x3
x3:
number
Defined in: types.d.ts:76
Horizontal position of the end point.
y1
y1:
number
Defined in: types.d.ts:70
Vertical position of the first control point.
y2
y2:
number
Defined in: types.d.ts:74
Vertical position of the second control point.
y3
y3:
number
Defined in: types.d.ts:78
Vertical position of the end point.