contains(Point2D) *4
JDK Doc(JAVA)Download this dictionary
contains(Point2D) *4
- Method in class java.awt.geom.Line2D 
public boolean contains (Point2D  p)
Tests if a given Point2D is inside the boundary of this Line2D. This method is required to implement the Shape interface, but in the case of Line2D objects it always returns false since a line contains no area.Specified by:  contains in interface Shape Parameters: p - the specified Point2D to be testedReturns: false because a Line2D contains no area.