Package 

Class PaddingKt

    • Method Summary

      Modifier and Type Method Description
      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.
      final static <P extends Padding> P setPadding(P $self, Dp horizontal, Dp vertical) Sets the horizontal and vertical padding for the rectangle.
      final static <P extends Padding> P setPadding(P $self, Dp all) Sets a common padding value for each edge of the rectangle.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.