| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOpcom.jhlabs.image.PointFiltercom.jhlabs.image.SparkleFilterpublic class SparkleFilterextends PointFilterField Summary |
Fields inherited from class com.jhlabs.image.PointFilter | |
canFilterIndexColorModel | |
Constructor Summary | |
Method Summary | |
int |
|
int |
|
int |
|
int |
|
int | |
int |
|
float | |
float | |
boolean | |
void |
|
void |
|
void |
|
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 float getRelativeCentreX()
public float getRelativeCentreY()
public boolean isLightOnly()
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 setLightOnly(boolean lightOnly)
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 void setRelativeCentreX(float relativeCentreX)
public void setRelativeCentreY(float relativeCentreY)
public String toString()