enable antialiasing
This commit is contained in:
parent
22f97b1c5f
commit
81f9d2238e
|
@ -25,6 +25,7 @@ public class MyCanvas extends View {
|
||||||
paint.setColor(Color.BLACK);
|
paint.setColor(Color.BLACK);
|
||||||
paint.setStyle(Paint.Style.STROKE);
|
paint.setStyle(Paint.Style.STROKE);
|
||||||
paint.setStrokeWidth(5f);
|
paint.setStrokeWidth(5f);
|
||||||
|
paint.setAntiAlias(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue