Package panamagl.utils
Class ImageUtils
java.lang.Object
panamagl.utils.ImageUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImagecopy(BufferedImage source) static BufferedImagecopy(BufferedImage source, panamagl.canvas.GLCanvas.Flip flip) Return a copy of the image, flipped as a canvas displays it with the givenGLCanvas.Flip.static BufferedImageflip(BufferedImage image, boolean vertically, boolean horizontally) static BufferedImageflipVertically(BufferedImage image) static voidsave(BufferedImage image, String path) static BufferedImagescale(BufferedImage in, float x, float y)
-
Constructor Details
-
ImageUtils
public ImageUtils()
-
-
Method Details
-
copy
-
copy
Return a copy of the image, flipped as a canvas displays it with the givenGLCanvas.Flip. -
scale
-
flip
-
flipVertically
-
save
-