1. 首页
  2. 移动开发
  3. Android
  4. android画圆示例

android画圆示例

上传者: 2019-01-16 12:52:42上传 ZIP文件 1020.84KB 热度 34次
Paint paint = new Paint(); paint.setColor(Color.RED); int width_dp = 10; int width_px = UIUtils.dip2Px(width_dp); paint.setStrokeWidth(width_px); paint.setAntiAlias(true); paint.setStyle(Style.STROKE); RectF oval = new RectF(mIvIcon.getLeft()+UIUtils.dip2Px(5), mIvIcon.getTop()+UIUt
用户评论