de.intarsys.cwt.hybrid.image
Class CwtHybridImage
java.lang.Object
de.intarsys.cwt.hybrid.image.CwtHybridImage
- All Implemented Interfaces:
- IAwtImage, IImage, ISwtImage
public class CwtHybridImage
- extends Object
- implements IAwtImage, ISwtImage
CwtHybridImage
public CwtHybridImage(BufferedImage bufferedImage)
CwtHybridImage
public CwtHybridImage(CwtAwtImage awtImage)
CwtHybridImage
public CwtHybridImage(CwtSwtImage swtImage)
CwtHybridImage
public CwtHybridImage(org.eclipse.swt.graphics.ImageData imageData)
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
getImage
public org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.graphics.Device device)
- Specified by:
getImage
in interface ISwtImage
getImageData
public org.eclipse.swt.graphics.ImageData getImageData()
- Specified by:
getImageData
in interface ISwtImage
getWidth
public int getWidth()
- Specified by:
getWidth
in interface IImage
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.