public class SparkleFilter extends PointFilter
canFilterIndexColorModel
filterListener
Constructor and Description |
---|
SparkleFilter() |
Modifier and Type | Method and Description |
---|---|
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, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
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
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.