javax.swing.text.html
Interface Map.RegionContainment

All Known Implementing Classes:
Map.CircleRegionContainment, Map.DefaultRegionContainment, Map.PolygonRegionContainment, Map.RectangleRegionContainment
Enclosing interface:
Map

static interface Map.RegionContainment

Defines the interface used for to check if a point is inside a region.


Method Summary
 boolean contains(int x, int y, int width, int height)
          Returns true if the location x, y falls inside the region defined in the receiver.
 

Method Detail

contains

public boolean contains(int x,
                        int y,
                        int width,
                        int height)
Returns true if the location x, y falls inside the region defined in the receiver. width, height is the size of the enclosing region.