Rect

Rect

Rectangle coordinate area

Constructor

new Rect(left, top, right, bottom)

Parameters:
Name Type Description
left Number required

left coordinate value

top Number required

top coordinate value

right Number required

right coordinate value

bottom Number required

bottom coordinate value