swingwt.awt
Interface Shape
- All Known Implementing Classes:
- GeneralPath, Line2D, Polygon, Rectangle, RectangularShape
- public interface Shape
getBounds
public Rectangle getBounds()
getBounds2D
public Rectangle2D getBounds2D()
contains
public boolean contains(double x,
double y)
contains
public boolean contains(Point2D p)
intersects
public boolean intersects(double x,
double y,
double w,
double h)
intersects
public boolean intersects(Rectangle2D r)
contains
public boolean contains(double x,
double y,
double w,
double h)
contains
public boolean contains(Rectangle2D r)
getPathIterator
public PathIterator getPathIterator(AffineTransform at)
getPathIterator
public PathIterator getPathIterator(AffineTransform at,
double flatness)