Gridarta Editor
|
Static Public Member Functions | |
static Image | scaleImage (@NotNull final Image image, final int w, final int h) throws InterruptedException |
Private Member Functions | |
ImageUtils () | |
Static Private Attributes | |
static final Component | COMPONENT |
static final MediaTracker | TRACKER = new MediaTracker(COMPONENT) |
Utility class for image related functions.
Definition at line 31 of file ImageUtils.java.
|
private |
Private constructor to prevent instantiation.
Definition at line 53 of file ImageUtils.java.
|
static |
Returns a scaled version of an Image. Other than {}, this function drops the reference to the source image. image the source image to scale w the scaled width h the scaled height the scaled image InterruptedException if scaling failed because the current thread was interrupted
Definition at line 68 of file ImageUtils.java.
References net.sf.gridarta.utils.ImageUtils.TRACKER.
Referenced by net.sf.gridarta.gui.mapimagecache.MapImageCacheEntry.scaleImage().
|
staticprivate |
The component for the media TRACKER.
Definition at line 36 of file ImageUtils.java.
|
staticprivate |
The MediaTracker for loading scaled images.
Definition at line 48 of file ImageUtils.java.
Referenced by net.sf.gridarta.utils.ImageUtils.scaleImage().