Skip to content

API Reference / @gtkx/cairo / LinearPoints

Type Alias: LinearPoints

LinearPoints = object

Defined in: types.d.ts:155

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

Properties

x0

x0: number

Defined in: types.d.ts:157

Horizontal coordinate of the start point.


x1

x1: number

Defined in: types.d.ts:161

Horizontal coordinate of the end point.


y0

y0: number

Defined in: types.d.ts:159

Vertical coordinate of the start point.


y1

y1: number

Defined in: types.d.ts:163

Vertical coordinate of the end point.

Released under the MPL-2.0 License.