Example usage for java.awt.geom Ellipse2D.Double intersects

List of usage examples for java.awt.geom Ellipse2D.Double intersects

Introduction

In this page you can find the example usage for java.awt.geom Ellipse2D.Double intersects.

Prototype

public boolean intersects(double x, double y, double w, double h) 

Source Link

Usage

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);

    System.out.println(e.intersects(2.0, 2.0, 2.0, 2.0));
}