-
public interface PaddingAllows a component to implement padding.
-
-
Method Summary
Modifier and Type Method Description UnitsetPadding(Float start, Float top, Float end, Float bottom)Updates the padding for each side individually. UnitsetPadding(Float horizontal, Float vertical)Updates the horizontal and vertical padding. UnitsetPadding(Float all)Sets a common padding value for each side. abstract MutableDimensionsgetPadding()The current padding. -
-
Method Detail
-
setPadding
Unit setPadding(Float start, Float top, Float end, Float bottom)
Updates the padding for each side individually.
-
setPadding
Unit setPadding(Float horizontal, Float vertical)
Updates the horizontal and vertical padding.
-
setPadding
Unit setPadding(Float all)
Sets a common padding value for each side.
-
getPadding
abstract MutableDimensions getPadding()
The current padding.
-
-
-
-