public class ComponentImage.EncodedWrapper extends EncodedImage
| Modifier and Type | Method and Description |
|---|---|
protected Image |
getInternal()
Returns the actual image represented by the encoded image, this image will
be cached in a weak/soft reference internally.
|
Image |
scaled(int width,
int height)
Returns a scaled version of this image image using the given width and height,
this is a fast algorithm that preserves translucent information.
|
EncodedImage |
scaledEncoded(int width,
int height)
Performs scaling using ImageIO to generate an encoded Image
|
asyncLock, create, create, create, create, create, createFromImage, createFromRGB, createMulti, drawImage, drawImage, getGraphics, getHeight, getImage, getImageData, getWidth, isAnimation, isLocked, isOpaque, lock, modifyAlpha, modifyAlpha, resetCache, rotate, scale, scaledHeight, scaledSmallerRatio, scaledWidth, subImage, toRGB, unlockaddActionListener, animate, applyMask, applyMask, applyMaskAutoScale, createImage, createImage, createImage, createImage, createImage, createImage, createImage, createIndexed, createMask, createSVG, dispose, exifRotation, exifRotation, exifRotation, fill, fireChangedEvent, flipHorizontally, flipVertically, getExifOrientationTag, getExifOrientationTag, getImageName, getRGB, getRGB, getRGBCached, getSVGDocument, isAlphaMutableImageSupported, isJPEG, isPNG, isSVG, isSVGSupported, mirror, modifyAlphaWithTranslucency, removeActionListener, requiresDrawImage, rotate180Degrees, rotate270Degrees, rotate90Degrees, scaledLargerRatio, setImageNamepublic EncodedImage scaledEncoded(int width, int height)
scaledEncoded in class EncodedImagewidth - the width of the image, -1 to scale based on height and preserve aspect ratioheight - the height of the image, -1 to scale based on width and preserve aspect ratiopublic Image scaled(int width, int height)
scaled in class EncodedImagewidth - width for the scalingheight - height of the scaled imageprotected Image getInternal()
getInternal in class EncodedImage