java.awt.Shape Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-rt Show documentation
Show all versions of jtransc-rt Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
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);
}