Java Swing Tutorial - Shape Example








Method

  1. Java Shape.contains(double x, double y)
  2. Java Shape.contains(double x, double y, double w, double h)
  3. Java Shape.contains(Point2D p)
  4. Java Shape.contains(Rectangle2D r)
  5. Java Shape.getBounds()
  6. Java Shape.getBounds2D()
  7. Java Shape .getPathIterator (AffineTransform at)
  8. Java Shape .getPathIterator (AffineTransform at, double flatness)
  9. Java Shape.intersects(double x, double y, double w, double h)
  10. Java Shape.intersects(Rectangle2D r)