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.Region
Closeable.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, width
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
draw, draw
public void succeed(ImageImpl.Data data)
public void fail(java.lang.Throwable error)
public Scale scale()
Image
Scale.ONE
unless HiDPI images are being used.public int pixelWidth()
Image
Image.state
.pixelWidth
in class Image
public int pixelHeight()
Image
Image.state
.pixelHeight
in class Image
Copyright © 2019. All Rights Reserved.