com.itextpdf.awt.geom
Class Line2D.Float
java.lang.Object
com.itextpdf.awt.geom.Line2D
com.itextpdf.awt.geom.Line2D.Float
- All Implemented Interfaces:
- Shape, Cloneable
- Enclosing class:
- Line2D
public static class Line2D.Float
- extends Line2D
Field Summary |
float |
x1
|
float |
x2
|
float |
y1
|
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 |
x1
public float x1
y1
public float y1
x2
public float x2
y2
public float y2
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)
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.