Enabled antialiasing

This commit is contained in:
ByteHamster 2019-10-03 15:01:08 +02:00
parent 6b03dce78b
commit 8b70766fa1
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ public class PieChartView extends AppCompatImageView {
private PieChartDrawable() {
linePaint = new Paint();
linePaint.setFlags(Paint.ANTI_ALIAS_FLAG);
linePaint.setStyle(Paint.Style.STROKE);
linePaint.setStrokeJoin(Paint.Join.ROUND);
linePaint.setStrokeCap(Paint.Cap.ROUND);