Java2D Gradients Performance

I have done some quick performance testing with Java2D gradients and exposed my results on I also explain the three ways you can paint gradients: regular GradientPaint, buffer image and stretched buffer image. Read the comments for very interesting follow-ups by other members. One of them describes a fourth way of painting gradients, using a TexturePaint.

Comments are closed.