
java.awt.Shape Maven / Gradle / Ivy
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 - 2025 Weber Informatics LLC | Privacy Policy