What does top, left, right and bottom mean in Android Rect object

This image will explain you in detail:

enter image description here

left The X coordinate of the left side of the rectangle

top The Y coordinate of the top of the rectangle

right The X coordinate of the right side of the rectangle

bottom The Y coordinate of the bottom of the rectangle

enter image description here

Leave a Comment