List of usage examples for java.awt.geom Ellipse2D.Double contains
public boolean contains(double x, double y, double w, double h)
From source file:Main.java
public static void main(String args[]) { Ellipse2D.Double e = new Ellipse2D.Double(1.0, 2.0, 2.0, 2.0); e.contains(2.0, 2.0, 2.0, 2.0); }