public class Line extends LineSegment
geometry, pointA, pointB| Constructor and Description | 
|---|
Line()  | 
Line(float x1,
    float y1,
    float x2,
    float y2)  | 
Line(Geometry geometry)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
contains(float x,
        float y)
Returns if the coordinate x,y is on the line between point A and point B 
 | 
equals, getIntersection, getIntersection, getLength, getMaxX, getMaxY, getMinX, getMinY, getPointA, getPointB, hashCode, intersects, intersects, intersectsLineSegment, release, set, setPointA, setPointB, toStringpublic Line()
public Line(float x1,
            float y1,
            float x2,
            float y2)
public Line(Geometry geometry)
public boolean contains(float x,
                        float y)
LineSegmentcontains in class LineSegmentx - The x coordinatey - The y coordinate