com.itextpdf.awt.geom
Class Line2D.Double

java.lang.Object
  extended by com.itextpdf.awt.geom.Line2D
      extended by com.itextpdf.awt.geom.Line2D.Double
All Implemented Interfaces:
Shape, Cloneable
Enclosing class:
Line2D

public static class Line2D.Double
extends Line2D


Nested Class Summary
 
Nested classes/interfaces inherited from class com.itextpdf.awt.geom.Line2D
Line2D.Double, Line2D.Float
 
Field Summary
 double x1
           
 double x2
           
 double y1
           
 double y2
           
 
Constructor Summary
Line2D.Double()
           
Line2D.Double(double x1, double y1, double x2, double y2)
           
Line2D.Double(Point2D p1, Point2D p2)
           
 
Method Summary
 Rectangle2D getBounds2D()
           
 Point2D getP1()
           
 Point2D getP2()
           
 double getX1()
           
 double getX2()
           
 double getY1()
           
 double getY2()
           
 void setLine(double x1, double y1, double x2, double y2)
           
 
Methods inherited from class com.itextpdf.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

x1

public double x1

y1

public double y1

x2

public double x2

y2

public double y2
Constructor Detail

Line2D.Double

public Line2D.Double()

Line2D.Double

public Line2D.Double(double x1,
                     double y1,
                     double x2,
                     double y2)

Line2D.Double

public Line2D.Double(Point2D p1,
                     Point2D p2)
Method Detail

getX1

public double getX1()
Specified by:
getX1 in class Line2D

getY1

public double getY1()
Specified by:
getY1 in class Line2D

getX2

public double getX2()
Specified by:
getX2 in class Line2D

getY2

public double getY2()
Specified by:
getY2 in class Line2D

getP1

public Point2D getP1()
Specified by:
getP1 in class Line2D

getP2

public Point2D getP2()
Specified by:
getP2 in class Line2D

setLine

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

getBounds2D

public Rectangle2D getBounds2D()


Copyright © 2013. All Rights Reserved.