public final class Arrow2D extends Line2D.Float
Line2D.Double, Line2D.Float
x1, x2, y1, y2
Constructor and Description |
---|
Arrow2D() |
Arrow2D(float x1,
float y1,
float x2,
float y2) |
Arrow2D(Point2D p1,
Point2D p2) |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D g2d) |
static void |
draw(Graphics2D g2d,
int x1,
int y1,
int x2,
int y2) |
getBounds2D, getP1, getP2, getX1, getX2, getY1, getY2, setLine, setLine
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 Arrow2D()
public Arrow2D(float x1, float y1, float x2, float y2)
public void draw(Graphics2D g2d)
public static void draw(Graphics2D g2d, int x1, int y1, int x2, int y2)
Copyright © 2018 SPF4J. All rights reserved.