com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Border



  • public final class Border
    extends Object

    Class representing characteristics of annotation border.

    • Constructor Detail

      • Border

        public Border(Annotation parent)

        Constructor for border object.

        Parameters:
        parent - Parent annotation.
    • Method Detail

      • getHCornerRadius

        public int getHCornerRadius()

        Gets horizontal corner radius.

        Returns:
        int value
      • setHCornerRadius

        public void setHCornerRadius(int value)

        Sets horizontal corner radius.

        Parameters:
        value - int value
      • getVCornerRaduis

        @Deprecated
        public int getVCornerRaduis()
        Deprecated. 

        Gets vertical corner radius. Please use getVCornerRadius() instead.

        Returns:
        vertical corner radius.
      • setVCornerRaduis

        @Deprecated
        public void setVCornerRaduis(int value)
        Deprecated. 

        Sets vertical corner radius.

        Parameters:
        value - vertical corner radius.
      • getVCornerRadius

        public int getVCornerRadius()

        Gets vertical corner radius.

        Returns:
        vertical corner radius.
      • setVCornerRadius

        public void setVCornerRadius(int value)

        Sets vertical corner radius.

        Parameters:
        value - vertical corner radius.
      • getWidth

        public int getWidth()

        Gets border width.

        Returns:
        int value
      • setWidth

        public void setWidth(int value)

        Sets border width.

        Parameters:
        value - int value
      • getEffectIntensity

        public int getEffectIntensity()

        Gets effect intencity. Valid range of value is [0..2].

        Returns:
        int value
      • setEffectIntensity

        public void setEffectIntensity(int value)

        Sets effect intencity. Valid range of value is [0..2].

        Parameters:
        value - int value
      • getStyle

        public int getStyle()

        Gets border style.

        BorderStyle
        Returns:
        BorderStyle element
        See Also:
        BorderStyle
      • setStyle

        public void setStyle(int value)

        Sets border style.

        BorderStyle
        Parameters:
        value - BorderStyle element
      • getEffect

        public int getEffect()

        Gets border effect.

        BorderEffect
        Returns:
        BorderEffect element
      • setEffect

        public void setEffect(int value)

        Sets border effect.

        BorderEffect
        Parameters:
        value - BorderEffect element
      • getDash

        public Dash getDash()

        Gets dash pattern.

        Returns:
        Dash object
      • setDash

        public void setDash(Dash value)

        Sets dash pattern.

        Parameters:
        value - Dash object