Quote
Hm... someone mentioned that he got a nice speed increase by combining several lines in one Area and drawing that instead. Unfortunately I can't remember the details nor find the thread. However, I do remember that he (who?) said that there was a sweet spot with somewhat like 30-50 lines in one Area object.
You might just give that a try... it's rather easy to implement and you can easily find out the sweet spot by trial'n'error.
You might just give that a try... it's rather easy to implement and you can easily find out the sweet spot by trial'n'error.
What do you mean by "combining several lines in one Area"? Do you mean drawing the lines to the Area and then drawing the area on the BufferedImage? I'm a Java2D n00b...is there a method for drawing lines to an Area object?


