Search results

Rect API in JavaScript (ES5) Drawing API control

Rect defines and processes rectangular regions

Properties

height

number

Sets the height of a rectangular region

Defaults to 0

width

number

Sets the width of a rectangular region

Defaults to 0

x

number

Sets the x-coordinate of the starting point of a rectangular region

Defaults to 0

y

number

Sets the y-coordinate of the starting point of a rectangular region

Defaults to 0