public class ImageUtil extends Object
| Constructor and Description |
|---|
ImageUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.swt.graphics.ImageData |
convertToSWT(BufferedImage bufferedImage) |
static org.eclipse.swt.graphics.Image |
getImage(org.eclipse.swt.widgets.Display display,
Class<?> resourceClass,
String filename) |
static org.eclipse.swt.graphics.Image |
getImage(org.eclipse.swt.widgets.Display display,
ClassLoader classLoader,
String filename) |
static org.eclipse.swt.graphics.Image |
getImage(org.eclipse.swt.widgets.Display display,
String location) |
static org.eclipse.swt.graphics.Image |
getImageAsResource(org.eclipse.swt.widgets.Display display,
String location) |
static org.eclipse.swt.graphics.Image |
makeImageTransparent(org.eclipse.swt.widgets.Display display,
org.eclipse.swt.graphics.Image tempImage,
org.eclipse.swt.graphics.RGB transparentColor) |
public static org.eclipse.swt.graphics.Image makeImageTransparent(org.eclipse.swt.widgets.Display display,
org.eclipse.swt.graphics.Image tempImage,
org.eclipse.swt.graphics.RGB transparentColor)
public static org.eclipse.swt.graphics.Image getImageAsResource(org.eclipse.swt.widgets.Display display,
String location)
public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Display display,
Class<?> resourceClass,
String filename)
public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Display display,
ClassLoader classLoader,
String filename)
public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Display display,
String location)
public static org.eclipse.swt.graphics.ImageData convertToSWT(BufferedImage bufferedImage)