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.
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.