com.groupdocs.signature.domain.extensions

Class TextShadow

  • All Implemented Interfaces:
    Cloneable


    public class TextShadow
    extends SignatureExtension

    Represents text shadow properties for text signatures. The result may vary depending on the signature type and document format. TextShadow is recommended for using with TextAsImage signature for all supported document types, also with simple TextSignature and TextSignature as watermark for Cells (.xslx) and Slides (.pptx). Simple TextSignature for Words (.docx) is recommended too, but has limited functionality.

    • Constructor Detail

      • TextShadow

        public TextShadow()

        Creates TextShadow with default options.

    • Method Detail

      • getAngle

        public final double getAngle()

        Gets or sets angle for placing shadow relative to the text. Default value is 0.

      • getBlur

        public final double getBlur()

        Gets or sets blur of the shadow. Default value is 4.

      • getColor

        public final Color getColor()

        Gets or sets color of the shadow. Default value is Black.

      • getDistance

        public final double getDistance()

        Gets or sets distance from text to shadow. Default value is 1.

      • getTransparency

        public final double getTransparency()

        Gets or sets transparency of the shadow. Default value is 0.

      • setAngle

        public final void setAngle(double value)

        Gets or sets angle for placing shadow relative to the text. Default value is 0.

      • setBlur

        public final void setBlur(double value)

        Gets or sets blur of the shadow. Default value is 4.

      • setColor

        public final void setColor(Color value)

        Gets or sets color of the shadow. Default value is Black.

      • setDistance

        public final void setDistance(double value)

        Gets or sets distance from text to shadow. Default value is 1.

      • setTransparency

        public final void setTransparency(double value)

        Gets or sets transparency of the shadow. Default value is 0.