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,
java.lang.String source) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCallback(Callback<? super Image> callback) |
float |
height() |
boolean |
isReady() |
void |
setError(java.lang.Throwable error) |
void |
setImage(org.robovm.apple.uikit.UIImage uiImage,
Scale scale) |
java.lang.String |
toString() |
float |
width() |
draw, draw, getRgb, toPattern, toUIImage, transformclearTexture, ensureTexture, scalereference, release, repeatX, repeatY, setMipmapped, setRepeat, subImageequals, getClass, hashCode, notify, notifyAll, wait, wait, waitclearTexture, ensureTexture, getRgb, repeatX, repeatY, scale, setMipmapped, setRepeat, subImage, toPattern, transformpublic RoboAsyncImage(GLContext ctx, float preWidth, float preHeight, java.lang.String source)
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(java.lang.Throwable error)
setError in interface AsyncImage<org.robovm.apple.uikit.UIImage>public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018. All Rights Reserved.