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