rectangle()
Returns a rectangle
rectangle(x, y, w, h)
x
x
-coordinate of the top-left vertex
y
y
-coordinate of the top-left vertex
w
width
h
height
Example:
shape: Object = rectangle(30, 20, 55, 65) shape.draw(1, 1000)