round up the edges

This commit is contained in:
tibbi 2016-02-15 22:03:17 +01:00
parent 81f9d2238e
commit 71c8769827
1 changed files with 2 additions and 0 deletions

View File

@ -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);
} }