Line2D.Double, Line2D.Float| Modifier and Type | Field and Description |
|---|---|
double |
x1 |
double |
x2 |
double |
y1 |
double |
y2 |
| Constructor and Description |
|---|
Double() |
Double(double x1, double y1, double x2, double y2) |
Double(Point2D p1, Point2D p2) |
| Modifier and Type | Method and 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, setLinepublic 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–2021. All rights reserved.