playn.java
Class JavaImageRegion
java.lang.Object
playn.core.AbstractImage
playn.core.gl.ImageGL
playn.core.gl.ImageRegionGL
playn.java.JavaImageRegion
- All Implemented Interfaces:
- Image, Image.Region
public class JavaImageRegion
- extends ImageRegionGL
|
Method Summary |
void |
draw(Graphics2D gfx,
float x,
float y,
float w,
float h)
|
void |
draw(Graphics2D gfx,
float dx,
float dy,
float dw,
float dh,
float x,
float y,
float w,
float h)
|
void |
getRgb(int startX,
int startY,
int width,
int height,
int[] rgbArray,
int offset,
int scanSize)
|
Pattern |
toPattern()
|
| Methods inherited from class playn.core.gl.ImageRegionGL |
addCallback, clearTexture, ensureTexture, height, isReady, parent, reference, release, setBounds, subImage, texHeight, texWidth, transform, updateTexture, width, x, y |
toPattern
public Pattern toPattern()
- Specified by:
toPattern in interface Image
getRgb
public void getRgb(int startX,
int startY,
int width,
int height,
int[] rgbArray,
int offset,
int scanSize)
- Specified by:
getRgb in interface Image
draw
public void draw(Graphics2D gfx,
float x,
float y,
float w,
float h)
draw
public void draw(Graphics2D gfx,
float dx,
float dy,
float dw,
float dh,
float x,
float y,
float w,
float h)
Copyright © 2012. All Rights Reserved.