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.
-
rectangle
-
-
RegionRectangle(Rectangle)
- Create a new region based on the specified rectangle.
-
contains(int, int)
- Return true if the coordinates are inside the rectangle.
-
copyright()
- Copyright method to ensure that short copyright string appears
in class file.
-
getBounds()
- Return the rectangle.
rectangle
protected Rectangle rectangle
RegionRectangle
public RegionRectangle(Rectangle rectangle)
- Create a new region based on the specified rectangle.
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 the rectangle.
getBounds
public Rectangle getBounds()
- Return the rectangle.
All Packages Class Hierarchy This Package Previous Next Index