public class Padding extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
getBottom()
Returns the padding bottom in pixel.
|
int |
getLeft()
Returns the padding left in pixel.
|
int |
getRight()
Returns the padding right in pixel.
|
int |
getTop()
Returns the padding top in pixel.
|
void |
set(int padding)
Sets the padding size to all dimensions.
|
void |
setBottom(int padding)
Sets the padding bottom in pixel.
|
void |
setLeft(int padding)
Sets the padding left in pixel.
|
void |
setRight(int padding)
Sets the padding right in pixel.
|
void |
setTop(int padding)
Sets the padding top in pixel.
|
public void set(int padding)
padding - padding size to apply to all dimensions.public void setLeft(int padding)
padding - the padding left in pixel.public int getLeft()
public void setRight(int padding)
padding - the padding right in pixel.public int getRight()
public void setTop(int padding)
padding - the padding top in pixel.public int getTop()
public void setBottom(int padding)
padding - the padding bottom in pixel.public int getBottom()