Packages

 

com.groupdocs.signature.options.appearances

Class ImageAppearance



  • public class ImageAppearance
    extends SignatureAppearance

    Describes extended appearance features for Image Signature.

    • Constructor Detail

      • ImageAppearance

        public ImageAppearance()

        Create instance with default values.

    • Method Detail

      • getBorderColor

        public final Color getBorderColor()

        Gets or sets the border color of image. If this property is not null border will appear on image.

      • getBorderDashStyle

        public final int getBorderDashStyle()

        Gets or sets the Image border style.

      • getBorderWeight

        public final int getBorderWeight()

        Gets or sets the weight of the image border.

      • getBrightness

        public final float getBrightness()

        Gets or sets image brightness. Default value is 1 it corresponds to original brightness of image.

      • getContrast

        public final float getContrast()

        Gets or sets image contrast. Default value is 1 it corresponds to original contrast of image.

      • getGammaCorrection

        public final float getGammaCorrection()

        Gets or sets image gamma. Default value is 1 it corresponds to original gamma of image.

      • getGrayscale

        public final boolean getGrayscale()

        Setup this flag to true if gray-scale filter is required.

      • setBorderColor

        public final void setBorderColor(Color value)

        Gets or sets the border color of image. If this property is not null border will appear on image.

      • setBorderDashStyle

        public final void setBorderDashStyle(int value)

        Gets or sets the Image border style.

      • setBorderWeight

        public final void setBorderWeight(int value)

        Gets or sets the weight of the image border.

      • setBrightness

        public final void setBrightness(float value)

        Gets or sets image brightness. Default value is 1 it corresponds to original brightness of image.

      • setContrast

        public final void setContrast(float value)

        Gets or sets image contrast. Default value is 1 it corresponds to original contrast of image.

      • setGammaCorrection

        public final void setGammaCorrection(float value)

        Gets or sets image gamma. Default value is 1 it corresponds to original gamma of image.

      • setGrayscale

        public final void setGrayscale(boolean value)

        Setup this flag to true if gray-scale filter is required.