Class LazyLine

java.lang.Object
  |
  +--java.awt.geom.Line2D
        |
        +--LazyLine
All Implemented Interfaces:
java.lang.Cloneable, java.awt.Shape

public class LazyLine
extends java.awt.geom.Line2D


Field Summary
(package private)  java.awt.geom.Point2D P1
           
(package private)  java.awt.geom.Point2D P2
           
 
Constructor Summary
LazyLine(java.awt.geom.Point2D p1, java.awt.geom.Point2D p2)
           
 
Method Summary
 java.awt.geom.Rectangle2D getBounds2D()
           
 java.awt.geom.Point2D getP1()
           
 java.awt.geom.Point2D getP2()
           
 double getX1()
           
 double getX2()
           
 double getY1()
           
 double getY2()
           
 void setLine(double x1, double y1, double x2, double y2)
           
 
Methods inherited from class java.awt.geom.Line2D
clone, contains, contains, contains, contains, getBounds, getPathIterator, getPathIterator, intersects, intersects, intersectsLine, intersectsLine, linesIntersect, ptLineDist, ptLineDist, ptLineDist, ptLineDistSq, ptLineDistSq, ptLineDistSq, ptSegDist, ptSegDist, ptSegDist, ptSegDistSq, ptSegDistSq, ptSegDistSq, relativeCCW, relativeCCW, relativeCCW, setLine, setLine
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P1

java.awt.geom.Point2D P1

P2

java.awt.geom.Point2D P2
Constructor Detail

LazyLine

public LazyLine(java.awt.geom.Point2D p1,
                java.awt.geom.Point2D p2)
Method Detail

getP1

public java.awt.geom.Point2D getP1()
Specified by:
getP1 in class java.awt.geom.Line2D

getX1

public double getX1()
Specified by:
getX1 in class java.awt.geom.Line2D

getY1

public double getY1()
Specified by:
getY1 in class java.awt.geom.Line2D

getP2

public java.awt.geom.Point2D getP2()
Specified by:
getP2 in class java.awt.geom.Line2D

getX2

public double getX2()
Specified by:
getX2 in class java.awt.geom.Line2D

getY2

public double getY2()
Specified by:
getY2 in class java.awt.geom.Line2D

setLine

public void setLine(double x1,
                    double y1,
                    double x2,
                    double y2)
Specified by:
setLine in class java.awt.geom.Line2D

getBounds2D

public java.awt.geom.Rectangle2D getBounds2D()