Uses of Class
java.awt.geom.Line2D
Packages that use 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
Subclasses of Line2D in java.awt.geomModifier and TypeClassDescriptionstatic classA line segment specified with double coordinates.static classA line segment specified with float coordinates.Methods in java.awt.geom with parameters of type Line2DModifier and TypeMethodDescriptionbooleanLine2D.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.voidSets the location of the end points of thisLine2Dto the same as those end points of the specifiedLine2D.