com.groupdocs.signature.domain

Class Padding

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable, Cloneable


    public class Padding
    extends Object
    implements com.aspose.ms.System.ICloneable, Cloneable

    Represents padding or margin information associated with element

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static Padding EMPTY
      Provides a Padding object with no padding.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Padding()
      Initializes a new instance of Padding class using zero values
      Padding(int all)
      Initializes a new instance of the System.Windows.Forms.Padding class using the supplied padding size for all edges.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      Object deepClone()
      Gets a copy of this object.
      int getAll()
      Gets or sets the padding value for all the edges.
      int getBottom()
      Gets or sets the padding value for the bottom edge.
      int getHorizontal()
      Gets the combined padding for the right and left edges.
      int getLeft()
      Gets or sets the padding value for the left edge.
      int getRight()
      Gets or sets the padding value for the right edge.
      int getTop()
      Gets or sets the padding value for the top edge.
      int getVertical()
      Gets the combined padding for the top and bottom edges.
      boolean isSet() 
      protected Object memberwiseClone() 
      void setAll(int value)
      Gets or sets the padding value for all the edges.
      void setBottom(int value)
      Gets or sets the padding value for the bottom edge.
      void setLeft(int value)
      Gets or sets the padding value for the left edge.
      void setRight(int value)
      Gets or sets the padding value for the right edge.
      void setTop(int value)
      Gets or sets the padding value for the top edge.
      String toString()
      Overrides conversion to string
    • Field Detail

      • EMPTY

        public static final Padding EMPTY

        Provides a Padding object with no padding.

    • Constructor Detail

      • Padding

        public Padding()

        Initializes a new instance of Padding class using zero values

      • Padding

        public Padding(int all)

        Initializes a new instance of the System.Windows.Forms.Padding class using the supplied padding size for all edges.

        Parameters:
        all - The number of pixels to be used for padding for all edges.
    • Method Detail

      • getAll

        public int getAll()

        Gets or sets the padding value for all the edges.

      • setAll

        public void setAll(int value)

        Gets or sets the padding value for all the edges.

      • getBottom

        public int getBottom()

        Gets or sets the padding value for the bottom edge.

      • setBottom

        public void setBottom(int value)

        Gets or sets the padding value for the bottom edge.

      • getHorizontal

        public int getHorizontal()

        Gets the combined padding for the right and left edges.

      • getLeft

        public int getLeft()

        Gets or sets the padding value for the left edge.

      • setLeft

        public void setLeft(int value)

        Gets or sets the padding value for the left edge.

      • getRight

        public int getRight()

        Gets or sets the padding value for the right edge.

      • setRight

        public void setRight(int value)

        Gets or sets the padding value for the right edge.

      • getTop

        public int getTop()

        Gets or sets the padding value for the top edge.

      • setTop

        public void setTop(int value)

        Gets or sets the padding value for the top edge.

      • getVertical

        public int getVertical()

        Gets the combined padding for the top and bottom edges.

      • deepClone

        public Object deepClone()

        Gets a copy of this object.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
      • isSet

        public boolean isSet()
      • toString

        public String toString()

        Overrides conversion to string

        Overrides:
        toString in class Object
        Returns:
      • memberwiseClone

        protected Object memberwiseClone()