com.explodingpixels.widgets
Class ImageUtils
java.lang.Object
com.explodingpixels.widgets.ImageUtils
public class ImageUtils
- extends Object
A utility class for working with Image
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getHorizontalSubImage
public static BufferedImage getHorizontalSubImage(Image image,
int x,
int width)
getVerticalSubImage
public static BufferedImage getVerticalSubImage(Image image,
int y,
int height)
getSubImage
public static BufferedImage getSubImage(Image image,
int x,
int y,
int width,
int height)