public class Plotter
extends java.lang.Object
Constructor and Description |
---|
Plotter()
Creates a plotter with an empty window.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Erases the window.
|
void |
plot(Polyline pl)
Adds the given polyline to the window.
|
public void plot(Polyline pl)
pl
- the given polylinepublic void clear()