Packages

 

com.groupdocs.signature.options.textsignature

Class SlidesSignTextOptions

    • Constructor Detail

      • SlidesSignTextOptions

        public SlidesSignTextOptions()

        Initializes a new instance of the SlidesSignTextOptions class with default values.

      • SlidesSignTextOptions

        public SlidesSignTextOptions(String text)

        Initializes a new instance of the SlidesSignTextOptions class with text.

        Parameters:
        text - Signature text.
    • Method Detail

      • getBackgroundBrushStyle

        public Brush getBackgroundBrushStyle()

        Gets or sets the signature background brush. Value by default is null. When property has a value it is used instead BackgroundBrush property. For TextStamp implementation RadialGradientBrush is not applicable, it is replaced by LinearGradientBrush. It is not used for Watermark implementation.

        Overrides:
        getBackgroundBrushStyle in class SignTextOptions
      • getBackgroundTransparency

        public final double getBackgroundTransparency()

        Gets or sets the signature background transparency (value from 0.0 (opaque) through 1.0 (clear)).

      • getBorderTransparency

        public final double getBorderTransparency()

        Gets or sets the signature border transparency (value from 0.0 (opaque) through 1.0 (clear)).

      • getBorderWeight

        public final double getBorderWeight()

        Gets or sets the weight of the signature border.

      • getOpacity

        public final double getOpacity()

        Get or set Signature Opacity. This value should be in range 0 - 1 and it inverts BackgroundTransparency. Opacity = 1 - BackgroundTransparency

        Specified by:
        getOpacity in interface IOpacity
      • getShapeType

        public final int getShapeType()

        Gets or sets the type of shape to put text. This property could be used only with SignatureImplementation = TextStamp. Value by default is Rectangle.

      • getSignatureImplementation

        public final int getSignatureImplementation()

        Gets or sets the type of text signature implementation.

      • setBackgroundBrushStyle

        public void setBackgroundBrushStyle(Brush value)

        Gets or sets the signature background brush. Value by default is null. When property has a value it is used instead BackgroundBrush property. For TextStamp implementation RadialGradientBrush is not applicable, it is replaced by LinearGradientBrush. It is not used for Watermark implementation.

        Overrides:
        setBackgroundBrushStyle in class SignTextOptions
      • setBackgroundTransparency

        public final void setBackgroundTransparency(double value)

        Gets or sets the signature background transparency (value from 0.0 (opaque) through 1.0 (clear)).

      • setBorderTransparency

        public final void setBorderTransparency(double value)

        Gets or sets the signature border transparency (value from 0.0 (opaque) through 1.0 (clear)).

      • setBorderWeight

        public final void setBorderWeight(double value)

        Gets or sets the weight of the signature border.

      • setOpacity

        public final void setOpacity(double value)

        Get or set Signature Opacity. This value should be in range 0 - 1 and it inverts BackgroundTransparency. Opacity = 1 - BackgroundTransparency

        Specified by:
        setOpacity in interface IOpacity
      • setShapeType

        public final void setShapeType(int value)

        Gets or sets the type of shape to put text. This property could be used only with SignatureImplementation = TextStamp. Value by default is Rectangle.

      • setSignatureImplementation

        public final void setSignatureImplementation(int value)

        Gets or sets the type of text signature implementation.

      • setTextHorizontalAlignment

        public final void setTextHorizontalAlignment(int value)

        Horizontal alignment of text inside a signature.

        Specified by:
        setTextHorizontalAlignment in interface ITextAlignment
      • setTextVerticalAlignment

        public final void setTextVerticalAlignment(int value)

        Vertical alignment of text inside a signature.

        Specified by:
        setTextVerticalAlignment in interface ITextAlignment