mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-06-05 21:59:17 +02:00
round up the edges
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user