Class

Rect

Rect(xopt, yopt, widthopt, heightopt)

Constructor

# new Rect(xopt, yopt, widthopt, heightopt)

Parameters:
Name Type Attributes Default Description
x number <optional>
0
y number <optional>
0
width number <optional>
0
height number <optional>
0
Properties:
Name Type Description
x number
y number
width number
height number

View Source Rect.ts, line 13