public class SparkleFilter extends PointFilter implements DynFiltering
Constructor and Description |
---|
SparkleFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
int |
filterRGB(int x,
int y,
int rgb) |
int |
getAmount()
Get the amount of sparkle.
|
int |
getColor() |
int |
getRadius()
Get the radius of the effect.
|
int |
getRandomness() |
int |
getRays() |
void |
setAmount(int amount)
Set the amount of sparkle.
|
void |
setColor(int color) |
void |
setDimensions(int width,
int height) |
void |
setRadius(int radius)
Set the radius of the effect.
|
void |
setRandomness(int randomness) |
void |
setRays(int rays) |
String |
toString() |
filter
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public SparkleFilter()
public void setColor(int color)
public int getColor()
public void setRandomness(int randomness)
public int getRandomness()
public void setAmount(int amount)
amount
- the amountgetAmount()
public int getAmount()
setAmount(int)
public void setRays(int rays)
public int getRays()
public void setRadius(int radius)
radius
- the radiusgetRadius()
public int getRadius()
setRadius(int)
public void setDimensions(int width, int height)
setDimensions
in class PointFilter
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class PointFilter
PageException
Copyright © 2015 Lucee