de.intarsys.cwt.awt.image
Class CwtAwtImage
java.lang.Object
de.intarsys.cwt.awt.image.CwtAwtImage
- All Implemented Interfaces:
- IAwtImage, IImage
public class CwtAwtImage
- extends java.lang.Object
- implements IAwtImage
The concrete implementation for an IImage
for AWT.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CwtAwtImage
protected CwtAwtImage()
CwtAwtImage
public CwtAwtImage(java.awt.image.BufferedImage bufferedImage)
drawFromGraphicsContext
public void drawFromGraphicsContext(IGraphicsContext graphicsContext,
float x,
float y)
- Specified by:
drawFromGraphicsContext
in interface IImage
getBufferedImage
public java.awt.image.BufferedImage getBufferedImage()
- Description copied from interface:
IAwtImage
- The
BufferedImage
that represents this image.
- Specified by:
getBufferedImage
in interface IAwtImage
- Returns:
- The
BufferedImage
that represents this image.
getHeight
public int getHeight()
- Specified by:
getHeight
in interface IImage
getWidth
public int getWidth()
- Specified by:
getWidth
in interface IImage
setHeight
protected void setHeight(int paramHeight)
setWidth
protected void setWidth(int paramWidth)