Java java.awt.geom Line2D.Float fields, constructors, methods, implement or subclass

Example usage for Java java.awt.geom Line2D.Float fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt.geom Line2D.Float.

The text is from its open source code.

Constructor

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.

Method

Point2DgetP1()
Returns the start Point2D of this Line2D .
Point2DgetP2()
Returns the end Point2D of this Line2D .