JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
G
R
S
T
G
getArea()
- Method in class
Rectangle
Returns the area of this rectangle.
getHeight()
- Method in class
Rectangle
Returns the height of this rectangle.
getWidth()
- Method in class
Rectangle
Returns the width of this rectangle.
R
Rectangle
- Class in
<Unnamed>
A class for representing a rectangle.
Rectangle(int, int)
- Constructor for class
Rectangle
Initializes this rectangle with the given width and height.
Rectangle()
- Constructor for class
Rectangle
Initializes this rectangle with zero width and height.
Rectangle(Rectangle)
- Constructor for class
Rectangle
Initializes this rectangle with the same width and height as the given rectangle.
S
scale(int)
- Method in class
Rectangle
Scales this rectangle with the given factor.
T
toString()
- Method in class
Rectangle
Returns a string representation of this rectangle.
G
R
S
T
Skip navigation links
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes