Uses of Class
java.awt.geom.Line2D
| Package | Description |
|---|---|
| java.awt.geom |
Provides the Java 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
|
-
Uses of Line2D in java.awt.geom
Subclasses of Line2D in java.awt.geom Modifier and Type Class Description static classLine2D.DoubleA line segment specified with double coordinates.static classLine2D.FloatA line segment specified with float coordinates.Methods in java.awt.geom with parameters of type Line2D Modifier and Type Method Description booleanLine2D. intersectsLine(Line2D l)Tests if the specified line segment intersects this line segment.booleanRectangle2D. intersectsLine(Line2D l)Tests if the specified line segment intersects the interior of thisRectangle2D.voidLine2D. setLine(Line2D l)Sets the location of the end points of thisLine2Dto the same as those end points of the specifiedLine2D.