Question

What is a more efficient methods for drawing circles on a canvas.

I can do it two ways:

  1. Use canvas.drawcircle(...)
  2. ShapeDrawable.SetBounds() followed by ShapeDrawable.draw(canvas)

What renders faster? What's better practice? Or does it not matter?

Was it helpful?

Solution

drawCircle() should be faster.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top