-
Method Summary
-
Method Details
-
getTextureSize
Texture size getter.
- Returns:
- the size of the texture in pixel.
-
getData
Data getter.
- Returns:
- the data.
-
getSubData
ByteBuffer getSubData(int x,
int y,
int width,
int height)
Sub-data getter.
- Parameters:
x
- rectangle origin x-coordinate.
y
- rectangle origin y-coordinate.
width
- rectangle width.
height
- rectangle height.
- Returns:
- the data.
-
getImage
- Returns:
- the data as a BufferedImage
-
getSubImage
- Parameters:
x
- rectangle origin x-coordinate.
y
- rectangle origin y-coordinate.
width
- rectangle width.
height
- rectangle height.
- Returns:
- the sub-data as a BufferedImage.