playn.flash
Class FlashCanvasImage

java.lang.Object
  extended by playn.flash.FlashCanvasImage
All Implemented Interfaces:
CanvasImage, Image

public class FlashCanvasImage
extends Object
implements CanvasImage


Nested Class Summary
 
Nested classes/interfaces inherited from interface playn.core.Image
Image.Region
 
Constructor Summary
FlashCanvasImage(playn.flash.FlashCanvas canvas)
           
 
Method Summary
 void addCallback(ResourceCallback<? super Image> callback)
           
 Canvas canvas()
           
 int height()
           
 boolean isReady()
           
 Image.Region subImage(float x, float y, float width, float height)
           
 Pattern toPattern()
           
 int width()
           
 
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
subImage, toPattern
 

Constructor Detail

FlashCanvasImage

public FlashCanvasImage(playn.flash.FlashCanvas canvas)
Method Detail

canvas

public Canvas canvas()
Specified by:
canvas in interface CanvasImage

height

public int height()
Specified by:
height in interface Image

width

public int width()
Specified by:
width in interface Image

isReady

public boolean isReady()
Specified by:
isReady in interface Image

addCallback

public void addCallback(ResourceCallback<? super Image> callback)
Specified by:
addCallback 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


Copyright © 2012. All Rights Reserved.