Canvas.DrawCircle VS ShapeDrawable.setBounds()
Question
What is a more efficient methods for drawing circles on a canvas.
I can do it two ways:
- Use
canvas.drawcircle(...)
ShapeDrawable.SetBounds()
followed byShapeDrawable.draw(canvas)
What renders faster? What's better practice? Or does it not matter?
Solution
drawCircle() should be faster.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow