Line2D.Double, Line2D.Float
Constructor and Description |
---|
Line2D.Float() |
Line2D.Float(float x1,
float y1,
float x2,
float y2) |
Line2D.Float(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) |
void |
setLine(float x1,
float y1,
float x2,
float 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 Line2D.Float()
public Line2D.Float(float x1, float y1, float x2, float y2)
public void setLine(double x1, double y1, double x2, double y2)
public void setLine(float x1, float y1, float x2, float y2)
public Rectangle2D getBounds2D()
Copyright © 2013. All Rights Reserved.