Example usage for Java java.awt.geom Line2D.Float fields, constructors, methods, implement or subclass
The text is from its open source code.
Float(float x1, float y1, float x2, float y2) Constructs and initializes a Line from the specified coordinates. | |
Float(Point2D p1, Point2D p2) Constructs and initializes a Line2D from the specified Point2D objects. |
Point2D | getP1() Returns the start Point2D of this Line2D . |
Point2D | getP2() Returns the end Point2D of this Line2D . |