com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class OfficeImageEffects

    • Constructor Detail

      • OfficeImageEffects

        protected OfficeImageEffects()

        Initializes a new instance of the OfficeImageEffects class.

    • Method Detail

      • getBorderLineFormat

        public final OfficeLineFormat getBorderLineFormat()

        Gets a line format settings for the image border.

        Returns:
        Instance of OfficeLineFormat class, representing shape line format.
      • setBorderLineFormat

        public final void setBorderLineFormat(OfficeLineFormat value)

        Sets a line format settings for the image border.

        Parameters:
        value - Instance of OfficeLineFormat class, representing shape line format.
      • getGrayScale

        public final boolean getGrayScale()

        Gets a value indicating whether a picture will be displayed in grayscale mode.

        Returns:
        The default value is false.
      • setGrayScale

        public final void setGrayScale(boolean value)

        Sets a value indicating whether a picture will be displayed in grayscale mode.

        Parameters:
        value - The default value is false.
      • getChromaKey

        public final Color getChromaKey()

        Gets the color value of the image that will be treated as transparent.

        Returns:
        The default value is fully transparent color.
      • setChromaKey

        public final void setChromaKey(Color value)

        Sets the color value of the image that will be treated as transparent.

        Parameters:
        value - The default value is fully transparent color.
      • getBrightness

        public final double getBrightness()

        Gets the brightness of the picture. The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest).

        Returns:
        The default value is 0.5.
      • setBrightness

        public final void setBrightness(double value)

        Sets the brightness of the picture. The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest).

        Parameters:
        value - The default value is 0.5.
      • getContrast

        public final double getContrast()

        Gets the contrast for the specified picture. The value for this property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast).

        Returns:
        The default value is 0.5.
      • setContrast

        public final void setContrast(double value)

        Sets the contrast for the specified picture. The value for this property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast).

        Parameters:
        value - The default value is 0.5.