public abstract class WavePainter
extends java.lang.Object
WavePainter2D| Modifier | Constructor and Description |
|---|---|
protected |
WavePainter() |
| Modifier and Type | Method and Description |
|---|---|
static WavePainter |
forColor(java.awt.Color color) |
abstract void |
paint(java.awt.Graphics2D g,
int xStart,
int xEnd,
int y)
Paints a wave in given coordinate range.
|
public abstract void paint(java.awt.Graphics2D g,
int xStart,
int xEnd,
int y)
y defines the lower boundary of painted wave.public static WavePainter forColor(java.awt.Color color)