The java.awt.geom.Rectangle2D.contains method is used to determine whether a specified point lies inside the boundaries of a rectangle. It returns a boolean value indicating whether the point is within the rectangle or not.
Java Rectangle2D.contains - 23 examples found. These are the top rated real world Java examples of java.awt.geom.Rectangle2D.contains extracted from open source projects. You can rate examples to help us improve the quality of examples.