Interface IsPadding

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method 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).
    • Method Detail

      • set

        default void set​(int padding)
        Sets the padding size to all dimensions.
        Parameters:
        padding - padding size to apply to all dimensions.
      • setX

        default void setX​(int padding)
        Sets the padding size to X dimensions (left and right).
        Parameters:
        padding - padding size to X dimensions (left and right).
      • setY

        default void setY​(int padding)
        Sets the padding size to Y dimensions (top and bottom).
        Parameters:
        padding - padding size to Y dimensions (top and bottom).
      • setLeft

        void setLeft​(int padding)
        Sets the padding left in pixel.
        Parameters:
        padding - the padding left in pixel.
      • setRight

        void setRight​(int padding)
        Sets the padding right in pixel.
        Parameters:
        padding - the padding right in pixel.
      • setTop

        void setTop​(int padding)
        Sets the padding top in pixel.
        Parameters:
        padding - the padding top in pixel.
      • setBottom

        void setBottom​(int padding)
        Sets the padding bottom in pixel.
        Parameters:
        padding - the padding bottom in pixel.