API Reference / @gtkx/cairo / LineToSegment
Type Alias: LineToSegment
LineToSegment =
object
Defined in: packages/cairo/src/types.ts:60
A path segment drawing a straight line to a point.
Properties
type
type:
"lineTo"
Defined in: packages/cairo/src/types.ts:62
Tag of the segment.
x
x:
number
Defined in: packages/cairo/src/types.ts:64
Horizontal position of the end point.
y
y:
number
Defined in: packages/cairo/src/types.ts:66
Vertical position of the end point.