playn.flash
Class FlashSurfaceImageCanvas
java.lang.Object
playn.flash.FlashCanvasImage
playn.flash.FlashSurfaceImageCanvas
- All Implemented Interfaces:
- CanvasImage, Image, SurfaceImage
public class FlashSurfaceImageCanvas
- extends FlashCanvasImage
- implements SurfaceImage
|
Method Summary |
void |
clearTexture()
|
void |
destroy()
|
int |
ensureTexture()
|
void |
getRgb(int startX,
int startY,
int width,
int height,
int[] rgbArray,
int offset,
int scanSize)
|
boolean |
repeatX()
|
boolean |
repeatY()
|
Scale |
scale()
|
void |
setMipmapped(boolean mipmapped)
|
void |
setRepeat(boolean repeatX,
boolean repeatY)
|
Image.Region |
subImage(float x,
float y,
float width,
float height)
|
Surface |
surface()
|
Pattern |
toPattern()
|
Image |
transform(Image.BitmapTransformer xform)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface playn.core.Image |
addCallback, clearTexture, ensureTexture, getRgb, height, isReady, repeatX, repeatY, scale, setMipmapped, setRepeat, subImage, toPattern, transform, width |
imageData
protected BitmapData imageData
FlashSurfaceImageCanvas
public FlashSurfaceImageCanvas(playn.flash.FlashCanvas canvas)
surface
public Surface surface()
- Specified by:
surface in interface SurfaceImage
destroy
public void destroy()
- Specified by:
destroy in interface SurfaceImage
scale
public Scale scale()
- Specified by:
scale in interface Image
repeatX
public boolean repeatX()
- Specified by:
repeatX in interface Image
repeatY
public boolean repeatY()
- Specified by:
repeatY in interface Image
setRepeat
public void setRepeat(boolean repeatX,
boolean repeatY)
- Specified by:
setRepeat in interface Image
subImage
public Image.Region subImage(float x,
float y,
float width,
float height)
- Specified by:
subImage in interface Image
toPattern
public Pattern toPattern()
- Specified by:
toPattern in interface Image
getRgb
public void getRgb(int startX,
int startY,
int width,
int height,
int[] rgbArray,
int offset,
int scanSize)
- Specified by:
getRgb in interface Image
transform
public Image transform(Image.BitmapTransformer xform)
- Specified by:
transform in interface Image
setMipmapped
public void setMipmapped(boolean mipmapped)
- Specified by:
setMipmapped in interface Image
ensureTexture
public int ensureTexture()
- Specified by:
ensureTexture in interface Image
clearTexture
public void clearTexture()
- Specified by:
clearTexture in interface Image
Copyright © 2013. All Rights Reserved.