Skip to content

API Reference / @gtkx/cairo / RectangleConstructorProps

Type Alias: RectangleConstructorProps ​

RectangleConstructorProps = object

Defined in: structs.d.ts:2

Initial field values for a Rectangle; a field left out or set to null keeps zero.

Properties ​

height? ​

optional height?: number | null

Defined in: structs.d.ts:10

Height of the rectangle.


width? ​

optional width?: number | null

Defined in: structs.d.ts:8

Width of the rectangle.


x? ​

optional x?: number | null

Defined in: structs.d.ts:4

Horizontal position of the left edge.


y? ​

optional y?: number | null

Defined in: structs.d.ts:6

Vertical position of the top edge.