public class JavaAsyncImage extends JavaImage implements AsyncImage<BufferedImage>
Image.BitmapTransformer, Image.Region| Constructor and Description |
|---|
JavaAsyncImage(GLContext ctx,
float preWidth,
float preHeight) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCallback(Callback<? super Image> callback) |
float |
height() |
void |
setError(Throwable error) |
void |
setImage(BufferedImage img,
Scale scale) |
float |
width() |
bufferedImage, draw, draw, getRgb, isReady, toPattern, toSubPattern, transform, updateTextureclearTexture, convertToRepTex, createMainTex, createPow2RepTex, ensureTexture, finalize, scalereference, release, repeatX, repeatY, setMipmapped, setRepeat, subImageclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearTexture, ensureTexture, getRgb, isReady, repeatX, repeatY, scale, setMipmapped, setRepeat, subImage, toPattern, transformpublic JavaAsyncImage(GLContext ctx, float preWidth, float preHeight)
public float width()
public float height()
public void addCallback(Callback<? super Image> callback)
addCallback in interface Imagepublic void setImage(BufferedImage img, Scale scale)
setImage in interface AsyncImage<BufferedImage>public void setError(Throwable error)
setError in interface AsyncImage<BufferedImage>Copyright © 2013. All Rights Reserved.