All Packages Class Hierarchy This Package Previous Next Index
Class COM.ibm.beans.gauge.RegionOval
java.lang.Object
|
+----COM.ibm.beans.gauge.RegionOval
- public class RegionOval
- extends Object
- implements Region
Abstract representation of an oval to be used for clipping.
centreX
-
centreY
-
radiusSquared
-
radiusX
-
radiusXSquared
-
radiusY
-
radiusYSquared
-
rxsRys
-
RegionOval(int,
int, int)
- Create an oval region based on the specified parameters.
RegionOval(int,
int, int, int)
- Create an oval region based on the specified parameters,
centered in the middle of the region, as big as possible.
contains(int,
int)
- Return true if the coordinates are inside the oval.
copyright()
- Copyright method to ensure that short copyright string
appears in class file.
getBounds()
- Return the bounding box for the circle.
radiusSquared
protected int radiusSquared
centreX
protected int centreX
centreY
protected int centreY
radiusXSquared
protected int radiusXSquared
radiusYSquared
protected int radiusYSquared
radiusX
protected int radiusX
radiusY
protected int radiusY
rxsRys
protected int rxsRys
RegionOval
public RegionOval(int x,
int y,
int radius)
- Create an oval region based on the specified parameters.
RegionOval
public RegionOval(int x,
int y,
int w,
int h)
- Create an oval region based on the specified parameters,
centered in the middle of the region, as big as possible.
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 oval.
getBounds
public Rectangle getBounds()
- Return the bounding box for the circle.
All Packages Class Hierarchy This Package Previous Next Index
Copyright ©
Taligent, Inc. 1996 - 1997.
Copyright © IBM Corporation 1996 - 1997.
All Rights Reserved.