All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.bulletproof.gui.Rectangle

java.lang.Object
   |
   +----com.bulletproof.gui.Rectangle

public class Rectangle
extends Object
A class to encapsulate a width and a height Dimension.


Constructor Index

 o Rectangle(int, int, int, int)
Constructs a Dimension and initializes it to the specified width and specified height.

Method Index

 o getHeight()
Returns the height of this Rectangle object.
 o getWidth()
Returns the width of this Rectangle object.
 o getX()
Returns the x position of this Rectangle object.
 o getY()
Returns the y position of this Rectangle object.

Constructors

 o Rectangle
 public Rectangle(int x,
                  int y,
                  int width,
                  int height)
Constructs a Dimension and initializes it to the specified width and specified height.

Parameters:
width - the specified width dimension
height - the specified height dimension

Methods

 o getX
 public int getX()
Returns the x position of this Rectangle object.

 o getY
 public int getY()
Returns the y position of this Rectangle object.

 o getWidth
 public int getWidth()
Returns the width of this Rectangle object.

 o getHeight
 public int getHeight()
Returns the height of this Rectangle object.


All Packages  Class Hierarchy  This Package  Previous  Next  Index