Skip to main content

Interface: RectOptions

Properties

height?

optional height: number

Height of rectangle; this can be used instead of setting the size property

Defined in

RectOptions.ts:16


origin?

optional origin: Point

Position of rectangle

Defined in

RectOptions.ts:6


size?

optional size: Size

Size of rectangle

Defined in

RectOptions.ts:8


width?

optional width: number

Width of rectangle; this can be used instead of setting the size property

Defined in

RectOptions.ts:14


x?

optional x: number

X coordinate of rectangle position; this can be used instead of setting the origin property

Defined in

RectOptions.ts:10


y?

optional y: number

Y coordinate of rectangle position; this can be used instead of setting the origin property

Defined in

RectOptions.ts:12