linearalgebra.graph
Class GraphLine

java.lang.Object
  extended by linearalgebra.graph.GraphObject
      extended by linearalgebra.graph.GraphLine

public class GraphLine
extends GraphObject


Field Summary
(package private)  java.awt.Color c
           
(package private)  java.awt.geom.Line2D line
           
(package private)  double slope
           
(package private)  double x
           
(package private)  double y
           
 
Constructor Summary
GraphLine(double x, double y, double slope, java.awt.Color c)
           
 
Method Summary
 void paint(java.awt.Graphics2D g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

double x

y

double y

slope

double slope

c

java.awt.Color c

line

java.awt.geom.Line2D line
Constructor Detail

GraphLine

public GraphLine(double x,
                 double y,
                 double slope,
                 java.awt.Color c)
Method Detail

paint

public void paint(java.awt.Graphics2D g)
Specified by:
paint in class GraphObject