Bitmap not drawn anti-aliased

后端 未结 5 1188
遥遥无期
遥遥无期 2020-12-05 00:50

I have a custom View that always draws a Bitmap at a certain rotation. I overwrite the onDraw method, rotate the Canvas a

5条回答
  •  天涯浪人
    2020-12-05 01:24

    In my case I did this, but may be it likes you did :

    Paint paint = new Paint();
    paint.setAntiAlias(true);
    

    Just try.

    Good luck!

提交回复
热议问题