| Constructor and Description |
|---|
CombinedFilter(java.util.Collection<Filter> filters) |
| Modifier and Type | Method and Description |
|---|---|
Filter |
and(Filter filter)
Returns a filter that combines this one and the specified one, returning the lowest strength of them both.
|
java.util.List<Filter> |
getFilters() |
float |
modifyStrength(int x,
int y,
float strength)
Filter the input strength.
|
public CombinedFilter(java.util.Collection<Filter> filters)
public java.util.List<Filter> getFilters()
public Filter and(Filter filter)
Filterpublic 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.