Performance - Sprites vs. Primitives

Edited:

A side note that if you're drawing exactly vertical or horizontal lines then fillRect() is faster than drawLine().

At least this was true when I created my benchmark app.

3 Likes