public class RoboAsyncImage extends RoboImage implements AsyncImage<org.robovm.apple.uikit.UIImage>
Image based on an asynchronously loaded bitmap.Image.BitmapTransformer, Image.Region| Constructor and Description |
|---|
RoboAsyncImage(GLContext ctx,
float preWidth,
float preHeight) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCallback(Callback<? super Image> callback) |
float |
height() |
boolean |
isReady() |
void |
setError(Throwable error) |
void |
setImage(org.robovm.apple.uikit.UIImage uiImage,
Scale scale) |
float |
width() |
draw, draw, getRgb, toPattern, toUIImage, transformclearTexture, ensureTexture, scalereference, release, repeatX, repeatY, setMipmapped, setRepeat, subImageequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearTexture, ensureTexture, getRgb, repeatX, repeatY, scale, setMipmapped, setRepeat, subImage, toPattern, transformpublic RoboAsyncImage(GLContext ctx, float preWidth, float preHeight)
public boolean isReady()
isReady in interface ImageisReady in class RoboAbstractImagepublic float width()
public float height()
public void addCallback(Callback<? super Image> callback)
addCallback in interface ImageaddCallback in class RoboAbstractImagepublic void setImage(org.robovm.apple.uikit.UIImage uiImage,
Scale scale)
setImage in interface AsyncImage<org.robovm.apple.uikit.UIImage>public void setError(Throwable error)
setError in interface AsyncImage<org.robovm.apple.uikit.UIImage>Copyright © 2015. All Rights Reserved.