 |
Article:
 |
 |
Pixel Pushing
|
| Subject: |
Performance of drawLine vs fillRect |
| Date: |
2005-06-09 22:38:00 |
| From: |
trembovetski |
|
|

|
Just a suggestion: if the lines you render are always horizontal or vertical, consider using fillRect() instead of drawLine, as it's much faster this way.
Thanks,
Dmitri
Java2D Team |
|