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.


Variable Index

 o centreX
 
 o centreY
 
 o radiusSquared
 
 o radiusX
 
 o radiusXSquared
 
 o radiusY
 
 o radiusYSquared
 
 o rxsRys
 

Constructor Index

 o RegionOval(int, int, int)
Create an oval region based on the specified parameters.
 o 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.

Method Index

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

Variables

 o radiusSquared

 protected int radiusSquared

 o centreX

 protected int centreX

 o centreY

 protected int centreY

 o radiusXSquared

 protected int radiusXSquared

 o radiusYSquared

 protected int radiusYSquared

 o radiusX

 protected int radiusX

 o radiusY

 protected int radiusY

 o rxsRys

 protected int rxsRys

Constructors

 o RegionOval

 public RegionOval(int x,
                   int y,
                   int radius)
Create an oval region based on the specified parameters.

 o 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.

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 oval.

 o 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.