Slick Forums

RFE: Set image color
Page 1 of 1

Author:  appel [ Tue Feb 01, 2011 12:59 am ]
Post subject:  RFE: Set image color

I really use the following method a lot, and it's sibling methods:
g.drawImage(image, x, y, color)

What I like to be able to do is specify the image color for multiple images without specifying it in the parameters of the draw method, e.g.:

g.drawImage(img, x, y);
img2.drawCentered(x2, y2);
.. etc
g.setImageColor(Color.white); // restore default

The reason I ask for this is because not all image drawing methods contain that color parameter, and I think it would be a nice easy feature to add that helps a lot.

Author:  kevglass [ Wed Mar 09, 2011 2:31 pm ]
Post subject: 

Added in SVN.


Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group