|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.actf.visualization.util.ImageOverlayUtil
public class ImageOverlayUtil
Utility class to create overlay image
| Field Summary | |
|---|---|
static org.eclipse.swt.graphics.PaletteData |
PALETTE
24 bit direct palette used for overlay. |
| Constructor Summary | |
|---|---|
ImageOverlayUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
overlay(org.eclipse.swt.graphics.Image base,
org.eclipse.swt.graphics.Image overlay)
Overlay image onto base image. |
static boolean |
overlay(org.eclipse.swt.graphics.Image base,
int[][] pixels,
int alpha)
Overlay pixels onto base image. |
static boolean |
overlay(org.eclipse.swt.graphics.Image base,
int width,
int[] pixels,
int alpha)
Overlay pixels onto base image. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.eclipse.swt.graphics.PaletteData PALETTE
| Constructor Detail |
|---|
public ImageOverlayUtil()
| Method Detail |
|---|
public static boolean overlay(org.eclipse.swt.graphics.Image base,
org.eclipse.swt.graphics.Image overlay)
base - the target image to add overlayoverlay - the overlay image. alpha value of the Image should be set in
advance.
public static boolean overlay(org.eclipse.swt.graphics.Image base,
int[][] pixels,
int alpha)
base - the target image to add overlaypixels - the pixel data array of the overlay image in [y][x] formatalpha - the global alpha value to be used for every pixel
to understand how to specify pixel value
public static boolean overlay(org.eclipse.swt.graphics.Image base,
int width,
int[] pixels,
int alpha)
base - the target image to add overlaywidth - the width of the overlay imagepixels - the pixel data array of the overlay imagealpha - the global alpha value to be used for every pixel
to understand how to specify pixel value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||