swingwt.awt
Interface Shape

All Known Implementing Classes:
GeneralPath, Line2D, Polygon, Rectangle, RectangularShape

public interface Shape


Method Summary
 boolean contains(double x, double y)
           
 boolean contains(double x, double y, double w, double h)
           
 boolean contains(Point2D p)
           
 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)
           
 

Method Detail

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)