com.itextpdf.awt.geom
Class Line2D.Float

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

public static class Line2D.Float
extends Line2D


Nested Class Summary
 
Nested classes/interfaces inherited from class com.itextpdf.awt.geom.Line2D
Line2D.Double, Line2D.Float
 
Field Summary
 float x1
           
 float x2
           
 float y1
           
 float y2
           
 
Constructor Summary
Line2D.Float()
           
Line2D.Float(float x1, float y1, float x2, float y2)
           
Line2D.Float(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)
           
 void setLine(float x1, float y1, float x2, float 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 float x1

y1

public float y1

x2

public float x2

y2

public float y2
Constructor Detail

Line2D.Float

public Line2D.Float()

Line2D.Float

public Line2D.Float(float x1,
                    float y1,
                    float x2,
                    float y2)

Line2D.Float

public Line2D.Float(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

setLine

public void setLine(float x1,
                    float y1,
                    float x2,
                    float y2)

getBounds2D

public Rectangle2D getBounds2D()


Copyright © 2013. All Rights Reserved.