Uses of Class
java.awt.geom.Line2D
Package
Description
Provides the Java 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
-
Uses of Line2D in java.awt.geom
Modifier and TypeClassDescriptionstatic class
A line segment specified with double coordinates.static class
A line segment specified with float coordinates.Modifier and TypeMethodDescriptionboolean
Line2D.intersectsLine
(Line2D l) Tests if the specified line segment intersects this line segment.boolean
Rectangle2D.intersectsLine
(Line2D l) Tests if the specified line segment intersects the interior of thisRectangle2D
.void
Sets the location of the end points of thisLine2D
to the same as those end points of the specifiedLine2D
.