public abstract class AbstractTextureDataProvider extends AbstractDataProvider<Texture> implements TextureDataProvider
Constructor and Description |
---|
AbstractTextureDataProvider() |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
getImage() |
java.awt.image.BufferedImage |
getSubImage(int x,
int y,
int width,
int height) |
addDataUser, fireUpdate, removeDataUser, toByte, toByte
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData, getSubData, getTextureSize
addDataUser, isValid, removeDataUser
public java.awt.image.BufferedImage getImage()
getImage
in interface TextureDataProvider
public java.awt.image.BufferedImage getSubImage(int x, int y, int width, int height)
getSubImage
in interface TextureDataProvider
x
- rectangle origin x-coordinate.y
- rectangle origin y-coordinate.width
- rectangle width.height
- rectangle height.