playn.java
Class JavaImageRegion
java.lang.Object
playn.java.JavaImageRegion
- All Implemented Interfaces:
- Image, Image.Region
public class JavaImageRegion
- extends Object
- implements Image.Region
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
img
protected BufferedImage img
x
public float x()
- Specified by:
x in interface Image.Region
y
public float y()
- Specified by:
y in interface Image.Region
width
public int width()
- Specified by:
width in interface Image
height
public int height()
- Specified by:
height in interface Image
parent
public Image parent()
- Specified by:
parent in interface Image.Region
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.