Package de.intarsys.cwt.awt.image
Class CwtAwtImage
- java.lang.Object
-
- de.intarsys.cwt.awt.image.CwtAwtImage
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CwtAwtImage()
CwtAwtImage(java.awt.image.BufferedImage bufferedImage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawFromGraphicsContext(IGraphicsContext graphicsContext, float x, float y)
java.awt.image.BufferedImage
getBufferedImage()
TheBufferedImage
that represents this image.int
getHeight()
int
getWidth()
protected void
setHeight(int paramHeight)
protected void
setWidth(int paramWidth)
-
-
-
Method Detail
-
drawFromGraphicsContext
public void drawFromGraphicsContext(IGraphicsContext graphicsContext, float x, float y)
- Specified by:
drawFromGraphicsContext
in interfaceIImage
-
getBufferedImage
public java.awt.image.BufferedImage getBufferedImage()
Description copied from interface:IAwtImage
TheBufferedImage
that represents this image.- Specified by:
getBufferedImage
in interfaceIAwtImage
- Returns:
- The
BufferedImage
that represents this image.
-
setHeight
protected void setHeight(int paramHeight)
-
setWidth
protected void setWidth(int paramWidth)
-
-