All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.ibm.beans.gauge.RegionIntersection

java.lang.Object
   |
   +----COM.ibm.beans.gauge.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

Copyright © Taligent, Inc. 1996 - 1997.
Copyright
© IBM Corporation 1996 - 1997.
All Rights Reserved.