public class Stars extends ImageEffect
Constructor and Description |
---|
Stars()
Creates a
Stars object with the default parameters. |
Stars(StarsParameters pParameters)
Creates a stars effect object that draws a stars image according to the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
EffectParameters |
getEffectParameters()
Returns the parameters that are currently used for the stars effect.
|
java.awt.image.BufferedImage |
process()
Returns an stars image according to the parameters that were set.
|
void |
setEffectParameters(EffectParameters pEffectParameters)
Sets the parameters for the stars effect.
|
isRunning, processAsThread, run
public Stars()
Stars
object with the default parameters.public Stars(StarsParameters pParameters)
pParameters
- The parameters that configure the stars drawing.public void setEffectParameters(EffectParameters pEffectParameters)
StarsParameters
.setEffectParameters
in class ImageEffect
pEffectParameters
- The parameters that configure the effect.public EffectParameters getEffectParameters()
getEffectParameters
in class ImageEffect
public java.awt.image.BufferedImage process() throws java.lang.Exception
process
in class ImageEffect
java.lang.Exception
- if there are errors when processing the image effect.