Line2D.Double, Line2D.Float
Constructor | Description |
---|---|
Double() |
|
Double(double x1,
double y1,
double x2,
double y2) |
|
Double(Point2D p1,
Point2D p2) |
Modifier and Type | Method | Description |
---|---|---|
Rectangle2D |
getBounds2D() |
|
Point2D |
getP1() |
|
Point2D |
getP2() |
|
double |
getX1() |
|
double |
getX2() |
|
double |
getY1() |
|
double |
getY2() |
|
void |
setLine(double x1,
double y1,
double x2,
double y2) |
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
public Double()
public Double(double x1, double y1, double x2, double y2)
public void setLine(double x1, double y1, double x2, double y2)
public Rectangle2D getBounds2D()
Copyright © 1998–2018. All rights reserved.