public class Line extends LineSegment
pointA, pointB| Constructor and Description | 
|---|
| Line() | 
| Line(float x1,
    float y1,
    float x2,
    float y2) | 
| 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, set, setPointA, setPointB, toStringpublic boolean contains(float x,
                        float y)
LineSegmentcontains in class LineSegmentx - The x coordinatey - The y coordinate