Interface Shape
- All Known Implementing Classes:
CubicCurve2D, CubicCurve2D.Double, CubicCurve2D.Float, GeneralPath, Line2D, Line2D.Double, Line2D.Float, QuadCurve2D, QuadCurve2D.Double, QuadCurve2D.Float, Rectangle, Rectangle2D, Rectangle2D.Double, Rectangle2D.Float, RectangularShape
public interface Shape
Shape
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(double x, double y) booleancontains(double x, double y, double w, double h) booleanbooleangetPathIterator(AffineTransform at, double flatness) booleanintersects(double x, double y, double w, double h) boolean
-
Method Details
-
contains
boolean contains(double x, double y) -
contains
boolean contains(double x, double y, double w, double h) -
contains
-
contains
-
getBounds
Rectangle getBounds() -
getBounds2D
Rectangle2D getBounds2D() -
getPathIterator
-
getPathIterator
-
intersects
boolean intersects(double x, double y, double w, double h) -
intersects
-