| Constructor and Description |
|---|
CwtHybridImage(java.awt.image.BufferedImage bufferedImage) |
CwtHybridImage(CwtAwtImage awtImage) |
CwtHybridImage(CwtSwtImage swtImage) |
CwtHybridImage(org.eclipse.swt.graphics.ImageData imageData) |
| Modifier and Type | Method and Description |
|---|---|
protected CwtAwtImage |
createAwtImage() |
protected CwtSwtImage |
createSwtImage() |
protected void |
drawFromAwt(CwtAwtGraphicsContext graphicsContext,
float x,
float y) |
void |
drawFromGraphicsContext(IGraphicsContext graphicsContext,
float x,
float y) |
protected void |
drawFromSwt(CwtSwtGraphicsContext graphicsContext,
float x,
float y) |
java.awt.image.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(java.awt.image.BufferedImage bufferedImage)
public CwtHybridImage(CwtAwtImage awtImage)
public CwtHybridImage(CwtSwtImage swtImage)
public CwtHybridImage(org.eclipse.swt.graphics.ImageData imageData)
protected CwtAwtImage createAwtImage()
protected CwtSwtImage createSwtImage()
protected void drawFromAwt(CwtAwtGraphicsContext graphicsContext, float x, float y)
public void drawFromGraphicsContext(IGraphicsContext graphicsContext, float x, float y)
drawFromGraphicsContext in interface IImageprotected void drawFromSwt(CwtSwtGraphicsContext graphicsContext, float x, float y)
public java.awt.image.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 ISwtImage