| Constructor and Description |
|---|
CwtHybridImage(BufferedImage bufferedImage) |
CwtHybridImage(CwtAwtImage awtImage) |
CwtHybridImage(CwtSwtImage swtImage) |
CwtHybridImage(org.eclipse.swt.graphics.ImageData imageData) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawFromGraphicsContext(IGraphicsContext graphicsContext,
float x,
float y) |
BufferedImage |
getBufferedImage()
The
BufferedImage that represents this image. |
int |
getHeight() |
org.eclipse.swt.graphics.Image |
getImage(org.eclipse.swt.graphics.Device device) |
org.eclipse.swt.graphics.ImageData |
getImageData() |
int |
getWidth() |
public CwtHybridImage(BufferedImage bufferedImage)
public CwtHybridImage(CwtAwtImage awtImage)
public CwtHybridImage(CwtSwtImage swtImage)
public CwtHybridImage(org.eclipse.swt.graphics.ImageData imageData)
public void drawFromGraphicsContext(IGraphicsContext graphicsContext, float x, float y)
drawFromGraphicsContext in interface IImagepublic BufferedImage getBufferedImage()
IAwtImageBufferedImage that represents this image.getBufferedImage in interface IAwtImageBufferedImage that represents this image.public org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.graphics.Device device)
public org.eclipse.swt.graphics.ImageData getImageData()
getImageData in interface ISwtImageCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.