public class Rectangle extends NativeBase
| Modifier and Type | Field and Description |
|---|---|
double |
bottom
The Bottom value.
|
double |
left
The Left value.
|
double |
right
The Right value.
|
double |
top
The Top value.
|
| Constructor and Description |
|---|
Rectangle()
Constructor.
|
Rectangle(double left,
double bottom,
double right,
double top) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
double |
getBottom()
Gets
bottom |
double |
getLeft()
Gets
left |
double |
getRight()
Gets
right |
double |
getTop()
Gets
top |
void |
setBottom(double bottom)
Sets
bottom |
void |
setLeft(double left)
Sets
left |
void |
setRight(double right)
Sets
right |
void |
setTop(double top)
Sets
top |
public double left
public double bottom
public double right
public double top
public Rectangle()
public Rectangle(double left,
double bottom,
double right,
double top)
public double getLeft()
leftpublic void setLeft(double left)
leftpublic double getBottom()
bottompublic void setBottom(double bottom)
bottompublic double getRight()
rightpublic void setRight(double right)
rightpublic double getTop()
toppublic void setTop(double top)
toppublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object