public class OpacityFilter extends PointFilter
canFilterIndexColorModelfilterListener| Constructor and Description |
|---|
OpacityFilter()
Construct an OpacityFilter with 50% opacity.
|
OpacityFilter(int opacity)
Construct an OpacityFilter with the given opacity (alpha).
|
| Modifier and Type | Method and Description |
|---|---|
int |
filterRGB(int x,
int y,
int rgb) |
int |
getOpacity()
Get the opacity setting.
|
void |
setOpacity(int opacity)
Set the opacity.
|
String |
toString() |
filter, setDimensionsclone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGBpublic OpacityFilter()
public OpacityFilter(int opacity)
opacity - the opacity (alpha) in the range 0..255public void setOpacity(int opacity)
opacity - the opacity (alpha) in the range 0..255getOpacity()public int getOpacity()
setOpacity(int)public int filterRGB(int x,
int y,
int rgb)
filterRGB in class PointFilterCopyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.