I've been trying to figure out how to flip an image for a while, but haven't figured out yet.
I'm using Graphics2D
to draw an Image
with
g2d.drawImage(image, x, y, null)
I just need a way to flip the image on the horizontal or vertical axis.
If you want you can have a look at the full source on github.