BufferedImageOp, Cloneablepublic class SparkleFilter extends PointFilter
canFilterIndexColorModel| 构造器 | 说明 |
|---|---|
SparkleFilter() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBfilterpublic void setColor(int color)
public int getColor()
public void setRandomness(int randomness)
public int getRandomness()
public void setAmount(int amount)
amount - the amount min-value 0 max-value 1getAmount()public int getAmount()
setAmount(int)public void setRays(int rays)
public int getRays()
public void setRadius(int radius)
radius - the radius
min-value 0getRadius()public int getRadius()
setRadius(int)public void setDimensions(int width,
int height)
setDimensions 在类中 PointFilterpublic int filterRGB(int x,
int y,
int rgb)
filterRGB 在类中 PointFilterCopyright © 2019. All rights reserved.