public class CurvedLineNoiseProducer extends Object implements NoiseProducer
| Constructor and Description |
|---|
CurvedLineNoiseProducer()
Creates a
CurvedLineNoiseProducer with default color and width. |
CurvedLineNoiseProducer(Color color,
float width)
Creates a
CurvedLineNoiseProducer with specified color and width. |
| Modifier and Type | Method and Description |
|---|---|
void |
makeNoise(BufferedImage image)
Adds noise to the specified image.
|
public CurvedLineNoiseProducer()
CurvedLineNoiseProducer with default color and width.public CurvedLineNoiseProducer(Color color, float width)
CurvedLineNoiseProducer with specified color and width.color - color of line.width - width of line.public void makeNoise(BufferedImage image)
NoiseProducermakeNoise in interface NoiseProducerimage - the instance of BufferedImageCopyright © 2015. All rights reserved.