美文网首页
自定义view - Rect

自定义view - Rect

作者: 世道无情 | 来源:发表于2019-02-12 18:05 被阅读0次

1. Rect


绘画工具类,长方形/正方形;
public Rect(int left, int top, int right, int bottom):参数:左、上、右、下


图片.png

使用场景:
绘制文字【绘制文字的区域】
绘制外圆区域【用RectF】

相关文章

网友评论

      本文标题:自定义view - Rect

      本文链接:https://www.haomeiwen.com/subject/gwaulqtx.html