Skip to content

API Reference / @gtkx/cairo / LinearPoints

Type Alias: LinearPoints ​

LinearPoints = object

Defined in: packages/cairo/src/types.ts:171

The two end points of a linear gradient in pattern space.

Properties ​

x0 ​

x0: number

Defined in: packages/cairo/src/types.ts:173

Horizontal coordinate of the start point.


x1 ​

x1: number

Defined in: packages/cairo/src/types.ts:177

Horizontal coordinate of the end point.


y0 ​

y0: number

Defined in: packages/cairo/src/types.ts:175

Vertical coordinate of the start point.


y1 ​

y1: number

Defined in: packages/cairo/src/types.ts:179

Vertical coordinate of the end point.