de.esw.eengine.renderable.primitive
Class ImagePrimitive
java.lang.Object
de.esw.eengine.renderable.primitive.ImagePrimitive
- All Implemented Interfaces:
- IRenderPrimitive
public class ImagePrimitive
- extends java.lang.Object
- implements IRenderPrimitive
- Since:
- 1.0
- Version:
- $Id: ImagePrimitive.java 75 2005-06-16 20:48:07Z markusw $
- Author:
- markusw
|
Constructor Summary |
ImagePrimitive(java.awt.image.BufferedImage image)
|
ImagePrimitive(java.awt.image.BufferedImage image,
float alpha)
|
ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1)
|
ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
float alpha)
|
ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
int sx2,
int sy2)
|
ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
int sx2,
int sy2,
float alpha)
|
ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
int sx2,
int sy2,
int dx1,
int dy1)
|
ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
int sx2,
int sy2,
int dx1,
int dy1,
float alpha)
|
ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
int sx2,
int sy2,
int dx1,
int dy1,
int dx2,
int dy2)
|
ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
int sx2,
int sy2,
int dx1,
int dy1,
int dx2,
int dy2,
float alpha)
|
|
Method Summary |
void |
render(java.awt.Graphics2D g)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImagePrimitive
public ImagePrimitive(java.awt.image.BufferedImage image)
- Parameters:
image - Image to render
ImagePrimitive
public ImagePrimitive(java.awt.image.BufferedImage image,
float alpha)
- Parameters:
image - Image to renderalpha - Alpha blending factor to render
ImagePrimitive
public ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1)
- Parameters:
image - Image to rendersx1 - Left source coordinatesy1 - Teft source coordinate
ImagePrimitive
public ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
float alpha)
- Parameters:
image - Image to rendersx1 - Left source coordinatesy1 - Teft source coordinatealpha - Alpha blending factor to render
ImagePrimitive
public ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
int sx2,
int sy2)
- Parameters:
image - Image to rendersx1 - Left source coordinatesy1 - Teft source coordinatesx2 - Right source coordinatesy2 - Bottom source coordinate
ImagePrimitive
public ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
int sx2,
int sy2,
float alpha)
- Parameters:
image - Image to rendersx1 - Left source coordinatesy1 - Teft source coordinatesx2 - Right source coordinatesy2 - Bottom source coordinatealpha - Alpha blending factor to render
ImagePrimitive
public ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
int sx2,
int sy2,
int dx1,
int dy1)
- Parameters:
image - Image to rendersx1 - Left source coordinatesy1 - Teft source coordinatesx2 - Right source coordinatesy2 - Bottom source coordinatedx1 - Left destination coordinatedy1 - Top destination coordinate
ImagePrimitive
public ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
int sx2,
int sy2,
int dx1,
int dy1,
float alpha)
- Parameters:
image - Image to rendersx1 - Left source coordinatesy1 - Teft source coordinatesx2 - Right source coordinatesy2 - Bottom source coordinatedx1 - Left destination coordinatedy1 - Top destination coordinatealpha - Alpha blending factor to render
ImagePrimitive
public ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
int sx2,
int sy2,
int dx1,
int dy1,
int dx2,
int dy2)
- Parameters:
image - Image to rendersx1 - Left source coordinatesy1 - Teft source coordinatesx2 - Right source coordinatesy2 - Bottom source coordinatedx1 - Left destination coordinatedy1 - Top destination coordinatedx2 - Right destination coordinatedy2 - Bottom destination coordinate
ImagePrimitive
public ImagePrimitive(java.awt.image.BufferedImage image,
int sx1,
int sy1,
int sx2,
int sy2,
int dx1,
int dy1,
int dx2,
int dy2,
float alpha)
- Parameters:
image - Image to rendersx1 - Left source coordinatesy1 - Teft source coordinatesx2 - Right source coordinatesy2 - Bottom source coordinatedx1 - Left destination coordinatedy1 - Top destination coordinatedx2 - Right destination coordinatedy2 - Bottom destination coordinatealpha - Alpha blending factor to render
render
public void render(java.awt.Graphics2D g)
- Specified by:
render in interface IRenderPrimitive
- Parameters:
g - Graphics to render on- See Also:
IRenderPrimitive.render(java.awt.Graphics2D)