public class BrickTexture extends ImageEffect
Constructor and Description |
---|
BrickTexture()
Creates a
BrickTexture object with the default parameters. |
BrickTexture(BrickTextureParameters pParameters)
Creates a
BrickTexture object with the specified parameters. |
Modifier and Type | Method and Description |
---|---|
EffectParameters |
getEffectParameters()
Returns the parameters that are currently used for the brick texture effect.
|
java.awt.image.BufferedImage |
process()
Returns a brick texture image according to the parameters that were set.
|
void |
setEffectParameters(EffectParameters pEffectParameters)
Sets the parameters for the brick texture effect.
|
isRunning, processAsThread, run
public BrickTexture()
BrickTexture
object with the default parameters.public BrickTexture(BrickTextureParameters pParameters)
BrickTexture
object with the specified parameters.pParameters
- The parameters that configure the effect.public void setEffectParameters(EffectParameters pEffectParameters)
BrickTextureParameters
.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.