Rectangle

Rectangle

A basic Rectangle class representing x y width and height.


Constructor

new Rectangle(x, y, width, height)

Constructs a new Rectangle.

Parameters:
Name Type Description
x Number
y Number
width Number
height Number

Members

constructor

height

width

x

y