Packages

 

com.groupdocs.signature.domain.extensions

Class TextShadow

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable, 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 double getAngle()

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

      • getBlur

        public double getBlur()

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

      • getColor

        public Color getColor()

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

      • getDistance

        public double getDistance()

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

      • getTransparency

        public double getTransparency()

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

      • setAngle

        public void setAngle(double value)

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

      • setBlur

        public void setBlur(double value)

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

      • setColor

        public void setColor(Color value)

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

      • setDistance

        public void setDistance(double value)

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

      • setTransparency

        public void setTransparency(double value)

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