public class ImageIOImageEntry extends ImageEntry implements IAwtImage, ISwtImage
| Constructor and Description |
|---|
ImageIOImageEntry(IImageContainer container,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawFromGraphicsContext(IGraphicsContext graphicsContext,
float x,
float y) |
BufferedImage |
getBufferedImage()
The
BufferedImage that represents this image. |
org.eclipse.swt.graphics.Image |
getImage(org.eclipse.swt.graphics.Device device) |
org.eclipse.swt.graphics.ImageData |
getImageData() |
int |
getIndex() |
getAttribute, getContainer, getHeight, getWidth, removeAttribute, setAttributepublic ImageIOImageEntry(IImageContainer container, int index)
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 ISwtImagepublic int getIndex()
getIndex in interface IImageEntryCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.