| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOpcom.jhlabs.image.WholeImageFiltercom.jhlabs.image.ShapeFilterpublic class ShapeFilterextends WholeImageFilterField Summary | |
static int | |
static int | |
static int | |
static int | |
protected Colormap | |
Fields inherited from class com.jhlabs.image.WholeImageFilter | |
originalSpace, transformedSpace | |
Constructor Summary | |
Method Summary | |
int |
|
protected int[] |
|
Colormap |
|
float | |
boolean | |
boolean |
|
int |
|
boolean | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
String |
|
Methods inherited from class com.jhlabs.image.WholeImageFilter | |
filter, filterPixels, transformSpace | |
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp | |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB | |
public static final int CIRCLE_DOWN
- Field Value:
- 2
public static final int CIRCLE_UP
- Field Value:
- 1
public static final int LINEAR
- Field Value:
- 0
public static final int SMOOTH
- Field Value:
- 3
public int distanceMap(int[] map,
int width,
int height)protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
- Overrides:
- filterPixels in interface WholeImageFilter
public Colormap getColormap()
Get the colormap to be used for the filter.
- Returns:
- the colormap
- See Also:
setColormap(Colormap)
public float getFactor()
public boolean getInvert()
public boolean getMerge()
public int getType()
public boolean getUseAlpha()
public void setColormap(Colormap colormap)
Set the colormap to be used for the filter.
- Parameters:
colormap- the colormap
- See Also:
getColormap()
public void setFactor(float factor)
public void setInvert(boolean invert)
public void setMerge(boolean merge)
public void setType(int type)
public void setUseAlpha(boolean useAlpha)
public String toString()