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.


Variable Index

 o regions

Constructor Index

 o RegionIntersection(Region[])
Create a region which is the intersection of one or more regions.
 o RegionIntersection(Vector)
Create a region which is the intersection of one or more regions.

Method Index

 o contains(int, int)
Return true if the coordinates are inside all the regions in the intersection.
 o copyright()
Copyright method to ensure that short copyright string appears in class file.
 o getBounds()
Return the bounding box for the intersection.

Variables

 o regions
 protected Region regions[]

Constructors

 o RegionIntersection
 public RegionIntersection(Vector regions)
Create a region which is the intersection of one or more regions.

 o RegionIntersection
 public RegionIntersection(Region regions[])
Create a region which is the intersection of one or more regions.

Methods

 o copyright
 public static String copyright()
Copyright method to ensure that short copyright string appears in class file.

 o contains
 public boolean contains(int x,
                         int y)
Return true if the coordinates are inside all the regions in the intersection.

 o getBounds
 public Rectangle getBounds()
Return the bounding box for the intersection.


All Packages  Class Hierarchy  This Package  Previous  Next  Index