round up the edges
This commit is contained in:
parent
81f9d2238e
commit
71c8769827
|
@ -24,6 +24,8 @@ public class MyCanvas extends View {
|
||||||
paint = new Paint();
|
paint = new Paint();
|
||||||
paint.setColor(Color.BLACK);
|
paint.setColor(Color.BLACK);
|
||||||
paint.setStyle(Paint.Style.STROKE);
|
paint.setStyle(Paint.Style.STROKE);
|
||||||
|
paint.setStrokeJoin(Paint.Join.ROUND);
|
||||||
|
paint.setStrokeCap(Paint.Cap.ROUND);
|
||||||
paint.setStrokeWidth(5f);
|
paint.setStrokeWidth(5f);
|
||||||
paint.setAntiAlias(true);
|
paint.setAntiAlias(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue