Can I draw with antialiasing on canvas?

Suzan Cioc picture Suzan Cioc · May 5, 2012 · Viewed 30.2k times · Source

Can I draw with anti-aliasing on canvas?

I need my circles and line have smooth edges.

Answer

Alexander Kulyakhtin picture Alexander Kulyakhtin · May 5, 2012

Drawing operations want Paint. In this Paint you set Paint.setFlags(Paint.ANTI_ALIAS_FLAG)