public interface Shape
Modifier and Type | Method and Description |
---|---|
boolean |
contains(double x, double y) |
boolean |
contains(double x, double y, double w, double h) |
boolean |
contains(Point2D point) |
boolean |
contains(Rectangle2D r) |
Rectangle |
getBounds() |
Rectangle2D |
getBounds2D() |
PathIterator |
getPathIterator(AffineTransform at) |
PathIterator |
getPathIterator(AffineTransform at, double flatness) |
boolean |
intersects(double x, double y, double w, double h) |
boolean |
intersects(Rectangle2D r) |
boolean contains(double x, double y)
boolean contains(double x, double y, double w, double h)
boolean contains(Point2D point)
boolean contains(Rectangle2D r)
Rectangle getBounds()
Rectangle2D getBounds2D()
PathIterator getPathIterator(AffineTransform at)
PathIterator getPathIterator(AffineTransform at, double flatness)
boolean intersects(double x, double y, double w, double h)
boolean intersects(Rectangle2D r)
Copyright © 1998–2022. All rights reserved.