Creates a Bounds object from two coordinates (usually top-left and bottom-right corners).
Creates a Bounds object defined by the points it contains.
The bottom right corner of the rectangle.
The top left corner of the rectangle.
Returns true if the rectangle contains the given one.
boolean
Returns true if the rectangle contains the given point.
boolean
Extends the bounds to contain the given point.
Returns the center point of the bounds.
Returns the size of the given bounds.
Returns true if the rectangle intersects the given bounds.
boolean
Returns true if the bounds are properly initialized.
boolean