public class FlareFilter extends PointFilter
Modifier and Type | Field and Description |
---|---|
private float |
baseAmount |
private float |
centreX |
private float |
centreY |
private int |
color |
private float |
falloff |
private float |
gauss |
private int |
height |
private float |
icentreX |
private float |
icentreY |
private float |
linear |
private float |
mix |
private float |
radius |
private float |
rayAmount |
private int |
rays |
private float |
ringAmount |
private float |
ringWidth |
private float |
sigma |
private int |
width |
canFilterIndexColorModel
Constructor and Description |
---|
FlareFilter() |
Modifier and Type | Method and Description |
---|---|
int |
filterRGB(int x,
int y,
int rgb) |
float |
getBaseAmount() |
Point2D |
getCentre() |
int |
getColor() |
float |
getRadius()
Get the radius of the effect.
|
float |
getRayAmount() |
float |
getRingAmount() |
float |
getRingWidth() |
void |
setBaseAmount(float baseAmount) |
void |
setCentre(Point2D centre) |
void |
setColor(int color) |
void |
setDimensions(int width,
int height) |
void |
setRadius(float radius)
Set the radius of the effect.
|
void |
setRayAmount(float rayAmount) |
void |
setRingAmount(float ringAmount) |
void |
setRingWidth(float ringWidth) |
String |
toString() |
filter
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private int rays
private float radius
private float baseAmount
private float ringAmount
private float rayAmount
private int color
private int width
private int height
private float centreX
private float centreY
private float ringWidth
private float linear
private float gauss
private float mix
private float falloff
private float sigma
private float icentreX
private float icentreY
public FlareFilter()
public void setColor(int color)
public int getColor()
public void setRingWidth(float ringWidth)
public float getRingWidth()
public void setBaseAmount(float baseAmount)
public float getBaseAmount()
public void setRingAmount(float ringAmount)
public float getRingAmount()
public void setRayAmount(float rayAmount)
public float getRayAmount()
public void setRadius(float radius)
radius
- the radiusgetRadius()
public float getRadius()
setRadius(float)
public void setDimensions(int width, int height)
setDimensions
in class PointFilter
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses