All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.eou.toolkit.graphics.RegionIntersection
java.lang.Object
|
+----com.ibm.eou.toolkit.graphics.RegionIntersection
- public class RegionIntersection
- extends Object
- implements Region
Abstract representation of an intersection to be used for clipping.
-
regions
-
-
RegionIntersection(Region[])
- Create a region which is the intersection of one or more regions.
-
RegionIntersection(Vector)
- Create a region which is the intersection of one or more regions.
-
contains(int, int)
- Return true if the coordinates are inside all the regions in the intersection.
-
copyright()
- Copyright method to ensure that short copyright string appears
in class file.
-
getBounds()
- Return the bounding box for the intersection.
regions
protected Region regions[]
RegionIntersection
public RegionIntersection(Vector regions)
- Create a region which is the intersection of one or more regions.
RegionIntersection
public RegionIntersection(Region regions[])
- Create a region which is the intersection of one or more regions.
copyright
public static String copyright()
- Copyright method to ensure that short copyright string appears
in class file.
contains
public boolean contains(int x,
int y)
- Return true if the coordinates are inside all the regions in the intersection.
getBounds
public Rectangle getBounds()
- Return the bounding box for the intersection.
All Packages Class Hierarchy This Package Previous Next Index