The x-coordinate, defaulting to 0.
The y-coordinate, defaulting to 0.
The width of the rectangle, defaulting to 0.
The height of the rectangle, defaulting to 0.
Returns whether this rectangle intersects another.
Another rectangle to compare against. This should not be null.
Whether the two rectangles intersect.
Sets the bounds of this rectangle.
The new x-coordinate.
The new y-coordinate.
The new width.
The new height.
Generated using TypeDoc
A simple rectangle class, containing some useful utility methods.