Skip to content

API Reference / @gtkx/cairo / LineToSegment

Type Alias: LineToSegment ​

LineToSegment = object

Defined in: types.d.ts:55

A path segment drawing a straight line to a point.

Properties ​

type ​

type: "lineTo"

Defined in: types.d.ts:57

Tag of the segment.


x ​

x: number

Defined in: types.d.ts:59

Horizontal position of the end point.


y ​

y: number

Defined in: types.d.ts:61

Vertical position of the end point.