public class OverlayImageIcon
extends org.eclipse.jface.resource.CompositeImageDescriptor
Constructor and Description |
---|
OverlayImageIcon(org.eclipse.swt.graphics.Image baseImage,
org.eclipse.swt.graphics.Image decoImage)
Constructor for overlayImageIcon.
|
Modifier and Type | Method and Description |
---|---|
protected void |
drawCompositeImage(int arg0,
int arg1) |
org.eclipse.swt.graphics.Image |
getImage()
Get the image formed by overlaying different images on the base image
|
protected org.eclipse.swt.graphics.Point |
getSize() |
drawImage, getImageData, getTransparentPixel, setImageData
public OverlayImageIcon(org.eclipse.swt.graphics.Image baseImage, org.eclipse.swt.graphics.Image decoImage)
protected void drawCompositeImage(int arg0, int arg1)
drawCompositeImage
in class org.eclipse.jface.resource.CompositeImageDescriptor
DrawCompositeImage is
called to draw the composite image.
protected org.eclipse.swt.graphics.Point getSize()
getSize
in class org.eclipse.jface.resource.CompositeImageDescriptor
get the size of the object
public org.eclipse.swt.graphics.Image getImage()