Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.PointFilter
com.jhlabs.image.SparkleFilter
public class SparkleFilter
extends PointFilter
Field Summary |
Fields inherited from class com.jhlabs.image.PointFilter | |
canFilterIndexColorModel |
Constructor Summary | |
Method Summary | |
int |
|
int |
|
int |
|
int |
|
int | |
int |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
String |
|
Methods inherited from class com.jhlabs.image.PointFilter | |
filter , filterRGB , setDimensions |
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp | |
clone , createCompatibleDestImage , getBounds2D , getPoint2D , getRGB , getRenderingHints , setRGB |
public int getAmount()
Get the amount of sparkle.
- Returns:
- the amount
- See Also:
setAmount(int)
public int getColor()
public int getRadius()
Get the radius of the effect.
- Returns:
- the radius
- See Also:
setRadius(int)
public int getRandomness()
public int getRays()
public void setAmount(int amount)
Set the amount of sparkle.
- Parameters:
amount
- the amount
- See Also:
getAmount()
public void setColor(int color)
public void setDimensions(int width, int height)
- Overrides:
- setDimensions in interface PointFilter
public void setRadius(int radius)
Set the radius of the effect.
- Parameters:
radius
- the radius
- See Also:
getRadius()
public void setRandomness(int randomness)
public void setRays(int rays)
public String toString()