public class SmoothFilter extends AbstractFilter
postFilters, preFilters
Constructor and Description |
---|
SmoothFilter() |
Modifier and Type | Method and Description |
---|---|
java.nio.FloatBuffer |
filter(float sx,
float sy,
float base,
java.nio.FloatBuffer buffer,
int size) |
float |
getEffect() |
int |
getMargin(int size,
int margin) |
int |
getRadius() |
void |
setEffect(float effect) |
void |
setRadius(int radius) |
addPostFilter, addPreFilter, doFilter, isEnabled, setEnabled
public void setRadius(int radius)
public int getRadius()
public void setEffect(float effect)
public float getEffect()
public int getMargin(int size, int margin)
getMargin
in interface Filter
getMargin
in class AbstractFilter
public java.nio.FloatBuffer filter(float sx, float sy, float base, java.nio.FloatBuffer buffer, int size)
filter
in class AbstractFilter