JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Class
java.awt.geom.Line2D

Packages that use Line2D
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
static class Line2D.Double
          A line segment specified with double coordinates.
static class Line2D.Float
          A line segment specified with float coordinates.
 

Methods in java.awt.geom with parameters of type Line2D
 void Line2D.setLine(Line2D l)
          Sets the location of the endpoints of this Line2D to the same as those endpoints of the specified Line2D.
 boolean 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 this Rectangle2D.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.