Package de.intarsys.cwt.awt.image
Class CwtAwtImage
java.lang.Object
de.intarsys.cwt.awt.image.CwtAwtImage
The concrete implementation for an
IImage
for AWT.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawFromGraphicsContext
(IGraphicsContext graphicsContext, float x, float y) TheBufferedImage
that represents this image.int
int
getWidth()
protected void
setHeight
(int paramHeight) protected void
setWidth
(int paramWidth)
-
Constructor Details
-
CwtAwtImage
protected CwtAwtImage() -
CwtAwtImage
-
-
Method Details
-
drawFromGraphicsContext
- Specified by:
drawFromGraphicsContext
in interfaceIImage
-
getBufferedImage
Description copied from interface:IAwtImage
TheBufferedImage
that represents this image.- Specified by:
getBufferedImage
in interfaceIAwtImage
- Returns:
- The
BufferedImage
that represents this image.
-
getHeight
public int getHeight() -
getWidth
public int getWidth() -
setHeight
protected void setHeight(int paramHeight) -
setWidth
protected void setWidth(int paramWidth)
-