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()
left
public void setLeft(double left)
left
public double getBottom()
bottom
public void setBottom(double bottom)
bottom
public double getRight()
right
public void setRight(double right)
right
public double getTop()
top
public void setTop(double top)
top
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object