| Modifier and Type | Class and Description | 
|---|---|
| static class  | DefaultFilter.Builder | 
| static class  | DefaultFilter.Condition | 
| static class  | DefaultFilter.LayerValue | 
| static class  | DefaultFilter.LevelType | 
| Constructor and Description | 
|---|
| DefaultFilter(Dimension dimension,
             boolean inSelection,
             boolean outsideSelection,
             int aboveLevel,
             int belowLevel,
             boolean feather,
             boolean onlyOn,
             java.lang.Object onlyOnItem,
             boolean exceptOn,
             java.lang.Object exceptOnItem,
             int aboveDegrees,
             boolean slopeIsAbove) | 
| Modifier and Type | Method and Description | 
|---|---|
| static DefaultFilter.Builder | buildForDimension(Dimension dimension) | 
| int | getAboveLevel() | 
| int | getBelowLevel() | 
| Dimension | getDimension() | 
| Layer | getExceptOnLayer()This gets the "except on" layer, but only if there is one layer selected. | 
| Layer | getOnlyOnLayer()This gets the "only on" layer, but only if there is one layer selected. | 
| boolean | isInSelection() | 
| float | modifyStrength(int x,
              int y,
              float strength)Filter the input strength. | 
| void | setDimension(Dimension dimension) | 
| java.lang.String | toString() | 
public DefaultFilter(Dimension dimension, boolean inSelection, boolean outsideSelection, int aboveLevel, int belowLevel, boolean feather, boolean onlyOn, java.lang.Object onlyOnItem, boolean exceptOn, java.lang.Object exceptOnItem, int aboveDegrees, boolean slopeIsAbove)
public int getAboveLevel()
public int getBelowLevel()
public Dimension getDimension()
public void setDimension(Dimension dimension)
public boolean isInSelection()
public Layer getOnlyOnLayer()
public Layer getExceptOnLayer()
public static DefaultFilter.Builder buildForDimension(Dimension dimension)
public float modifyStrength(int x,
                            int y,
                            float strength)
FiltermodifyStrength in interface Filterx - The X coordinate in WorldPainter dimension coordinates for which to determine the filter
                 strength.y - The Y coordinate in WorldPainter dimension coordinates for which to determine the filter
                 strength.strength - The input filter strength as a number between 0.0 and 1.0.public java.lang.String toString()
toString in class java.lang.Object