public class Rectangle
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| float | height | 
| float | width | 
| float | x | 
| float | y | 
| Constructor and Description | 
|---|
| Rectangle() | 
| Rectangle(float x,
         float y,
         float width,
         float height) | 
| Rectangle(Rectangle other) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| int | hashCode() | 
| java.lang.String | toString() | 
public Rectangle(float x,
                 float y,
                 float width,
                 float height)
public Rectangle(Rectangle other)
public Rectangle()