JSRectangle constructor

JSRectangle(x, y, width, height)

JSRectangle(x: number, y: number, width: number, height: number)
ParameterTypeDescription
xnumber
ynumber
widthnumber
heightnumber

See Also