All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.awt.Shape Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
package java.awt;

import java.awt.geom.AffineTransform;
import java.awt.geom.PathIterator;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;

public interface Shape {
	public Rectangle getBounds();
	public Rectangle2D getBounds2D();
	public boolean contains(double x, double y);
	public boolean contains(Point2D p);
	public boolean intersects(double x, double y, double w, double h);
	public boolean intersects(Rectangle2D r);
	public boolean contains(double x, double y, double w, double h);
	public boolean contains(Rectangle2D r);
	public PathIterator getPathIterator(AffineTransform at);
	public PathIterator getPathIterator(AffineTransform at, double flatness);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy