figure
Class GraphicalLine

java.lang.Object
  extended byfigure.Plotable
      extended byfigure.GraphicalLine

public class GraphicalLine
extends Plotable


Constructor Summary
GraphicalLine()
           
GraphicalLine(double xp0, double yp0, double xp1, double yp1)
           
 
Method Summary
 void plot(java.awt.Graphics2D g, BoundingBox bbox, java.awt.geom.AffineTransform transform)
           
 void setPoints(double xp0, double yp0, double xp1, double yp1)
           
 void setStroke(java.awt.Stroke s)
           
 
Methods inherited from class figure.Plotable
setColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicalLine

public GraphicalLine()

GraphicalLine

public GraphicalLine(double xp0,
                     double yp0,
                     double xp1,
                     double yp1)
Method Detail

setPoints

public void setPoints(double xp0,
                      double yp0,
                      double xp1,
                      double yp1)

setStroke

public void setStroke(java.awt.Stroke s)

plot

public void plot(java.awt.Graphics2D g,
                 BoundingBox bbox,
                 java.awt.geom.AffineTransform transform)
Specified by:
plot in class Plotable