本Rect最左侧到屏幕的左侧的距离是 left
本Rect最上面到屏幕上方的距离是 top
本Rect最右侧到屏幕左侧的距离是 right
本Rect最下面到屏幕上方的距离是 bottom
长 = bottom-top
宽 = right-left
Android 图形基础类Rect
猜你喜欢
转载自blog.csdn.net/qq_40833790/article/details/103475670
今日推荐
周排行