Android中的DrawRect()参数解析
16lz
2022-01-14
官方文档中的定义:
drawRect(float left, float top, float right, float bottom, Paint paint)
Draw the specified Rect using the specified paint.
下面我用一张图来解析各个参数。
X轴为手机顶部,y轴为手机左边,各个参数的意思就是到这两边的距离。
更多相关文章
- IDA调试Android(安卓)so文件
- Android(安卓)开发 — 开机自启动
- 2010.10.30———Android(安卓)03
- Android入门-页面跳转
- Android参数设置: Preference
- Android(安卓)cmd 命令常用参数详解
- Android--取得控件在手机屏幕上的位置
- mybatisplus的坑 insert标签insert into select无参数问题的解决
- Python技巧匿名函数、回调函数和高阶函数