public abstract class ImageImpl extends Image
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageImpl.Data
Used to provide bitmap data to the abstract image once it's ready.
|
Image.BitmapTransformer, Image.RegionCloseable.Set, Closeable.Util| Modifier and Type | Method and Description |
|---|---|
void |
fail(java.lang.Throwable error)
Notifies this image that its implementation bitmap failed to load.
|
int |
pixelHeight()
Returns the height of this image in physical pixels.
|
int |
pixelWidth()
Returns the width of this image in physical pixels.
|
Scale |
scale()
Returns the scale of resolution independent pixels to actual pixels for this image.
|
void |
succeed(ImageImpl.Data data)
Notifies this image that its implementation bitmap is available.
|
close, createPattern, createTexture, getRgb, height, isLoaded, region, setConfig, setRgb, texture, textureAsync, tile, tileAsync, transform, updateTexture, widthequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdraw, drawpublic void succeed(ImageImpl.Data data)
public void fail(java.lang.Throwable error)
public Scale scale()
ImageScale.ONE unless HiDPI images are being used.public int pixelWidth()
ImageImage.state.pixelWidth in class Imagepublic int pixelHeight()
ImageImage.state.pixelHeight in class ImageCopyright © 2018. All Rights Reserved.