Module java.desktop
Package java.awt.geom

Class Line2D

java.lang.Object
java.awt.geom.Line2D
All Implemented Interfaces:
Shape, Cloneable
Direct Known Subclasses:
Line2D.Double, Line2D.Float

public abstract class Line2D extends Object implements Shape, Cloneable
This Line2D represents a line segment in (x,y) coordinate space.

This class is only the abstract superclass for all objects that store a 2D line segment. The actual storage representation of the coordinates is left to the subclass.

Since:
1.2