enable antialiasing

This commit is contained in:
tibbi 2016-02-15 21:55:54 +01:00
parent 22f97b1c5f
commit 81f9d2238e
1 changed files with 1 additions and 0 deletions

View File

@ -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