Rect

Rect

Rectangle coordinate area

Constructor

new Rect(left, top, right, bottom)

Parameters:
Name Type Description
left Number

left coordinate value

top Number

top coordinate value

right Number

right coordinate value

bottom Number

bottom coordinate value