Java API By Example, From Geeks To Geeks.

# Java > Java SE, EE, ME > java > awt > Shape

## java.awt Interface Shape

All Known Implementing Classes:
Arc2D, Arc2D.Double, Arc2D.Float, Area, BasicTextUI.BasicCaret, CubicCurve2D, CubicCurve2D.Double, CubicCurve2D.Float, DefaultCaret, Ellipse2D, Ellipse2D.Double, Ellipse2D.Float, GeneralPath, Line2D, Line2D.Double, Line2D.Float, Polygon, QuadCurve2D, QuadCurve2D.Double, QuadCurve2D.Float, Rectangle, Rectangle2D, Rectangle2D.Double, Rectangle2D.Float, RectangularShape, RoundRectangle2D, RoundRectangle2D.Double, RoundRectangle2D.Float
Top Examples, Source Code, PathIterator, AffineTransform, FlatteningPathIterator

boolean contains(double x,
double y)
Geek's Notes:

boolean contains(double x,
double y,
double w,
double h)
intersects(double, double, double, double), Area
Geek's Notes:

boolean contains(Point2D p)
Geek's Notes:

boolean contains(Rectangle2D r)
contains(double, double, double, double)
Geek's Notes:

Rectangle getBounds()
getBounds2D()
Geek's Notes:

Rectangle2D getBounds2D()
getBounds()
Geek's Notes:

PathIterator getPathIterator(AffineTransform at)
Geek's Notes:

PathIterator getPathIterator(AffineTransform at,
double flatness)
Geek's Notes:

boolean intersects(double x,
double y,
double w,
double h)