Constructor and Description |
---|
Region() |
Region(int spacing) |
Region(int top,
int right,
int bottom,
int left) |
Modifier and Type | Method and Description |
---|---|
int |
getBottom()
Returns the bottom value.
|
int |
getLeft()
Returns the left value.
|
int |
getRight()
Returns the right value.
|
int |
getTop()
Returns the top value.
|
void |
setBottom(int bottom)
Sets the bottom value.
|
void |
setLeft(int left)
Sets the left value.
|
void |
setRight(int right)
Sets the right value.
|
void |
setTop(int top)
Sets the top value.
|
String |
toString() |
public Region()
public Region(int spacing)
public Region(int top, int right, int bottom, int left)
public int getBottom()
public int getLeft()
public int getRight()
public int getTop()
public void setBottom(int bottom)
bottom
- the bottom valuepublic void setLeft(int left)
left
- the left valuepublic void setRight(int right)
right
- the right valuepublic void setTop(int top)
top
- the top valueCopyright © 2018. All rights reserved.