public final class Area extends Object implements IsArea
CanvasObjectFactory
Constructor and Description |
---|
Area() |
Modifier and Type | Method and Description |
---|---|
double |
getBottom()
Returns the bottom coordinate.
|
double |
getLeft()
Returns the left coordinate.
|
double |
getRight()
Returns the right coordinate.
|
double |
getTop()
Returns the top coordinate.
|
void |
setBottom(double bottom)
Sets the the bottom coordinate.
|
void |
setLeft(double left)
Sets the left coordinate.
|
void |
setRight(double right)
Sets the right coordinate.
|
void |
setTop(double top)
Sets the top coordinate.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHeight, getWidth, isConsistent
public double getLeft()
public void setLeft(double left)
left
- the left to setpublic double getTop()
public void setTop(double top)
top
- the top to setpublic double getRight()
public void setRight(double right)
right
- the right to setpublic double getBottom()
public void setBottom(double bottom)
bottom
- the bottom to set