Skip to content

Commit 427bcc2

Browse files
committed
Update
1 parent 33ced75 commit 427bcc2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎CustomView/Advance/[02]Canvas_BasicGraphics.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ useCenter // 是否使用中心
279279
相比于使用椭圆,我们还是使用正圆比较多的,使用正圆展示一下效果:
280280

281281
```
282-
RectF rectF = new RectF(100,100,800,400);
282+
RectF rectF = new RectF(100,100,600,600);
283283
// 绘制背景矩形
284284
mPaint.setColor(Color.GRAY);
285285
canvas.drawRect(rectF,mPaint);
@@ -290,7 +290,7 @@ useCenter // 是否使用中心
290290
291291
//-------------------------------------
292292
293-
RectF rectF2 = new RectF(100,600,800,900);
293+
RectF rectF2 = new RectF(100,700,600,1200);
294294
// 绘制背景矩形
295295
mPaint.setColor(Color.GRAY);
296296
canvas.drawRect(rectF2,mPaint);

0 commit comments

Comments
 (0)