All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.eou.toolkit.graphics.RegionRectangle

java.lang.Object
   |
   +----com.ibm.eou.toolkit.graphics.RegionRectangle

public class RegionRectangle
extends Object
implements Region
Abstract representation of a rectangle to be used for clipping gradient fills.


Variable Index

 o rectangle

Constructor Index

 o RegionRectangle(Rectangle)
Create a new region based on the specified rectangle.

Method Index

 o contains(int, int)
Return true if the coordinates are inside the rectangle.
 o copyright()
Copyright method to ensure that short copyright string appears in class file.
 o getBounds()
Return the rectangle.

Variables

 o rectangle
 protected Rectangle rectangle

Constructors

 o RegionRectangle
 public RegionRectangle(Rectangle rectangle)
Create a new region based on the specified rectangle.

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 the rectangle.

 o getBounds
 public Rectangle getBounds()
Return the rectangle.


All Packages  Class Hierarchy  This Package  Previous  Next  Index