com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class BorderInfo

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


    public final class BorderInfo
    extends Object
    implements com.aspose.ms.System.ICloneable

    This class represents border for graphics elements.

    • Constructor Detail

      • BorderInfo

        public BorderInfo(int borderSide,
                          Color borderColor)

        Initializes a new instance of the BorderInfo class.

        Parameters:
        borderSide - Indicates the border sides info. For example: (int)(BorderSide.Left | BorderSide.Top).
        borderColor - The border color.
      • BorderInfo

        public BorderInfo()

        Initializes a new instance of the BorderInfo class.

      • BorderInfo

        public BorderInfo(int borderSide)

        Initializes a new instance of the BorderInfo class.

        Parameters:
        borderSide - Indicates the border sides info. For example: (BorderSide.Left | BorderSide.Top).
      • BorderInfo

        public BorderInfo(int borderSide,
                          float borderWidth)

        Initializes a new instance of the BorderInfo class.

        Parameters:
        borderSide - Indicates the border sides info. For example: (BorderSide.Left | BorderSide.Top).
        borderWidth - The width of the border.
      • BorderInfo

        public BorderInfo(int borderSide,
                          float borderWidth,
                          Color borderColor)

        Initializes a new instance of the BorderInfo class.

        Parameters:
        borderSide - Indicates the border sides info. For example: (BorderSide.Left | BorderSide.Top).
        borderWidth - The width of the border.
        borderColor - The border color.
      • BorderInfo

        public BorderInfo(int borderSide,
                          GraphInfo borderStyle)

        Initializes a new instance of the BorderInfo class.

        Parameters:
        borderSide - Indicates the border sides info. For example: (BorderSide.Left | BorderSide.Top).
        borderStyle - The border format info.
    • Method Detail

      • getLeft

        public GraphInfo getLeft()

        Gets GraphInfo object that indicates left of the border.

        Returns:
        object that indicates left of the border.
      • setLeft

        public void setLeft(GraphInfo value)

        Sets GraphInfo object that indicates left of the border.

        Parameters:
        value - indicator.
      • getRight

        public GraphInfo getRight()

        Gets GraphInfo object that indicates right of the border.

        Returns:
        object that indicates right of the border.
      • setRight

        public void setRight(GraphInfo value)

        Sets GraphInfo object that indicates right of the border.

        Parameters:
        value - indicator.
      • getTop

        public GraphInfo getTop()

        Gets GraphInfo object that indicates the top border.

        Returns:
        object that indicates the top border
      • setTop

        public void setTop(GraphInfo value)

        Sets GraphInfo object that indicates top of the border.

        Parameters:
        value - indicator.
      • getBottom

        public GraphInfo getBottom()

        Gets object that indicates bottom of the border.

        Returns:
        bottom
      • setBottom

        public void setBottom(GraphInfo value)

        Sets object that indicates bottom of the border.

        Parameters:
        value - GraphInfo value
      • getRoundedBorderRadius

        public double getRoundedBorderRadius()

        Gets rounded border radius.

        Returns:
        value
      • setRoundedBorderRadius

        public void setRoundedBorderRadius(double value)

        Sets rounded border radius.

        Parameters:
        value - double value
      • deepClone

        public Object deepClone()

        Clones a new BorderInfo object.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Returns:
        The new BorderInfo object.