public interface IsPadding extends IsDefaultPadding
Modifier and Type | Method and Description |
---|---|
default 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.
|
default void |
setX(int padding)
Sets the padding size to X dimensions (left and right).
|
default void |
setY(int padding)
Sets the padding size to Y dimensions (top and bottom).
|
default void set(int padding)
padding
- padding size to apply to all dimensions.default void setX(int padding)
padding
- padding size to X dimensions (left and right).default void setY(int padding)
padding
- padding size to Y dimensions (top and bottom).void setLeft(int padding)
padding
- the padding left in pixel.void setRight(int padding)
padding
- the padding right in pixel.void setTop(int padding)
padding
- the padding top in pixel.void setBottom(int padding)
padding
- the padding bottom in pixel.