Rect
The rectangle class.
Superclass
Class Method
Rect.new(x, y, width, height)
Creates a new Rect object.
Method
set(x, y, width, height)
Sets all parameters at once.
Properties
x
The X-coordinate of the rectangle's upper left corner.
y
The Y-coordinate of the rectange's upper left corner.
width
The rectangle's width.
height
The rectangle's height.
Last updated