public class FlashCanvasImage extends FlashImage implements CanvasImage
Image.BitmapTransformer, Image.RegionimageData| Constructor and Description |
|---|
FlashCanvasImage(playn.flash.FlashCanvas canvas) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCallback(Callback<? super Image> callback) |
BitmapData |
bitmapData()
Returns the
BitmapData that underlies this image. |
Canvas |
canvas() |
float |
height() |
boolean |
isReady() |
void |
setRgb(int startX,
int startY,
int width,
int height,
int[] rgbArray,
int offset,
int scanSize) |
Image |
snapshot() |
float |
width() |
clearTexture, ensureTexture, getRgb, repeatX, repeatY, scale, setMipmapped, setRepeat, subImage, toPattern, transformclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearTexture, ensureTexture, getRgb, repeatX, repeatY, scale, setMipmapped, setRepeat, subImage, toPattern, transformpublic BitmapData bitmapData()
FlashImageBitmapData that underlies this image. This is for games that need to write
custom backend code to do special stuff. No promises are made, caveat coder.bitmapData in class FlashImagepublic Canvas canvas()
canvas in interface CanvasImagepublic Image snapshot()
snapshot in interface CanvasImagepublic float height()
height in interface Imageheight in class FlashImagepublic float width()
width in interface Imagewidth in class FlashImagepublic boolean isReady()
isReady in interface ImageisReady in class FlashImagepublic void addCallback(Callback<? super Image> callback)
addCallback in interface ImageaddCallback in class FlashImagepublic void setRgb(int startX,
int startY,
int width,
int height,
int[] rgbArray,
int offset,
int scanSize)
setRgb in interface CanvasImageCopyright © 2013. All Rights Reserved.