Skip to main content

Interface: RectOptions

Properties

height?

optional height: number

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

Source

RectOptions.ts:16


origin?

optional origin: Point

Position of rectangle

Source

RectOptions.ts:6


size?

optional size: Size

Size of rectangle

Source

RectOptions.ts:8


width?

optional width: number

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

Source

RectOptions.ts:14


x?

optional x: number

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

Source

RectOptions.ts:10


y?

optional y: number

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

Source

RectOptions.ts:12