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 Object
- implements IAwtImage
The concrete implementation for an IImage
for AWT.
CwtAwtImage
public CwtAwtImage(BufferedImage bufferedImage)
drawFromGraphicsContext
public void drawFromGraphicsContext(IGraphicsContext graphicsContext,
float x,
float y)
- Specified by:
drawFromGraphicsContext
in interface IImage
getBufferedImage
public 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
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.