org.math.plot.plotObjects
Class Line
java.lang.Object
org.math.plot.plotObjects.Line
- All Implemented Interfaces:
- Plotable
- Direct Known Subclasses:
- BaseLine
public class Line
- extends Object
- implements Plotable
BSD License
- Author:
- Yann RICHET
Constructor Summary |
Line(Color col,
double[] c1,
double[] c2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
extrem
protected double[][] extrem
color
protected Color color
visible
boolean visible
Line
public Line(Color col,
double[] c1,
double[] c2)
setColor
public void setColor(Color c)
- Specified by:
setColor
in interface Plotable
getColor
public Color getColor()
- Specified by:
getColor
in interface Plotable
setVisible
public void setVisible(boolean v)
- Specified by:
setVisible
in interface Plotable
getVisible
public boolean getVisible()
- Specified by:
getVisible
in interface Plotable
plot
public void plot(AbstractDrawer draw)
- Specified by:
plot
in interface Plotable