List of utility methods to do BufferedImage Height Get
int | getHeight(BufferedImage image) get Height return image.getHeight();
|
int | getHeight(BufferedImage image, int x, int y) This method returns the height represented by the specified pixel in the given texture. if (x < 0) { x = 0; } else if (x >= image.getWidth()) { x = image.getWidth() - 1; if (y < 0) { y = 0; } else if (y >= image.getHeight()) { ... |
int | getHeight(File file) get Height BufferedImage bufImg = getBufferedImage(file); if (bufImg != null) { return bufImg.getHeight(); return 0; |