Skip to content

API Reference / @gtkx/cairo / RectangleData

Type Alias: RectangleData

RectangleData = object

Defined in: types.d.ts:120

A rectangle as plain data, for the calls that take or return many at once.

Properties

height

height: number

Defined in: types.d.ts:128

Height of the rectangle.


width

width: number

Defined in: types.d.ts:126

Width of the rectangle.


x

x: number

Defined in: types.d.ts:122

Horizontal position of the left edge.


y

y: number

Defined in: types.d.ts:124

Vertical position of the top edge.

Released under the MPL-2.0 License.