The first (exclusive) point specified in a rectangle
The last point specified in a rectangle
For exclusive, maximum horizontal coordinate of this rect + 1. For inclusive, maximum horizontal coordinate of this rect.
Height of this rect (always positive).
The first (inclusive) point specified in a rectangle
The last point specified in a rectangle
Minimum horizontal coordinate of this rect.
Minimum vertical coordinate of this rect.
Width of this rect (always positive).
Adjusts the selection to where it would be after a columns deletion.
true if selection changed, false if it was not changed or null if it should be fully deleted
Adjusts the selection to where it would be after a columns insertion.
true if selection changed
Adjusts the selection to where it would be after a rows deletion.
true if selection changed, false if it was not changed or null if it should be fully deleted
Adjusts the selection to where it would be after a rows insertion.
true if selection changed
Tests whether this rectangle contains a point
The point or rect to test for containment.
true if point is within rectangle
Grows this Rectangle in x direction with let staying fixed
Grows this Rectangle in y direction with top staying fixed
The rectangle to intersect with this rect.
true
iff this rect overlaps with given rect
.
Moves this Rectangle in x direction
Moves this Rectangle in y direction
(Formerly: insetBy
.)
Amount by which to increase (+) or decrease (-) this rect
That is enlarged/shrunk by given padding
.
The shrinkBy method.
Amount by which to decrease (+) or increase (-) this rect.
That is enlarged/shrunk by given padding
.
The growBy method.
The rectangle to union with this rect.
Bounding rect that contains both this rect and the given rect
.
Horizontal coordinate of the new rect.
A copy of this rect but with horizontal position reset to given x
and no width.
Vertical coordinate of the new rect.
A copy of this rect but with vertical position reset to given y
and no height.
Rectangle to test against this rect.
true
iff this
rect is entirely contained within given rect
.
Area of this rect.