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?
optionalheight?:number|null
Defined in: structs.d.ts:10
Height of the rectangle.
width?
optionalwidth?:number|null
Defined in: structs.d.ts:8
Width of the rectangle.
x?
optionalx?:number|null
Defined in: structs.d.ts:4
Horizontal position of the left edge.
y?
optionaly?:number|null
Defined in: structs.d.ts:6
Vertical position of the top edge.