playn.java
Class JavaStaticImage
java.lang.Object
playn.java.JavaStaticImage
- All Implemented Interfaces:
- Image
public class JavaStaticImage
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
img
protected BufferedImage img
JavaStaticImage
public JavaStaticImage(BufferedImage img)
addCallback
public void addCallback(ResourceCallback<? super Image> callback)
width
public int width()
- Specified by:
width in interface Image
height
public int height()
- Specified by:
height in interface Image
isReady
public boolean isReady()
- Specified by:
isReady in interface Image
subImage
public Image.Region subImage(float sx,
float sy,
float swidth,
float sheight)
- Specified by:
subImage in interface Image
toPattern
public Pattern toPattern()
- Specified by:
toPattern in interface Image
Copyright © 2012. All Rights Reserved.