The `android.graphics.Rect` class represents a rectangle whose sides are parallel to the `x` and `y` axes in the drawing space. It has four int properties: `left`, `top`, `right`, and `bottom`. The `bottom` property specifies the coordinate of the bottom edge of the rectangle.
Example 1: To create a rectangle with a bottom edge at `y=100`, we can use the following code:
Rect rect = new Rect(0, 0, 200, 100);
rect.bottom = 100;
Example 2: We can also get the `bottom` value of an existing rectangle using the `bottom` property:
Rect rect = new Rect(0, 0, 200, 100);
int bottom = rect.bottom;
The `android.graphics.Rect` class is part of the Android Graphics package library.
Java Rect.bottom - 30 examples found. These are the top rated real world Java examples of android.graphics.Rect.bottom extracted from open source projects. You can rate examples to help us improve the quality of examples.