-
public final class PaddingKt
-
-
Method Summary
Modifier and Type Method Description final static <P extends Padding> PsetPadding(P $self, Dp start, Dp top, Dp end, Dp bottom)Sets a padding value for each edge of the rectangle individually. final static <P extends Padding> PsetPadding(P $self, Dp horizontal, Dp vertical)Sets the horizontal and vertical padding for the rectangle. final static <P extends Padding> PsetPadding(P $self, Dp all)Sets a common padding value for each edge of the rectangle. -
-
Method Detail
-
setPadding
final static <P extends Padding> P setPadding(P $self, Dp start, Dp top, Dp end, Dp bottom)
Sets a padding value for each edge of the rectangle individually.
-
setPadding
final static <P extends Padding> P setPadding(P $self, Dp horizontal, Dp vertical)
Sets the horizontal and vertical padding for the rectangle.
-
setPadding
final static <P extends Padding> P setPadding(P $self, Dp all)
Sets a common padding value for each edge of the rectangle.
-
-
-
-