com.groupdocs.watermark.legacy

Interfaces

Classes

Exceptions

com.groupdocs.watermark.legacy

Class ColorRange


  • Deprecated.

    @Deprecated
    public class ColorRange
    extends Object

    Represents a range of colors. Specifies ranges using HSB representation of RGB color.

    • Constructor Summary

      Constructors 
      Constructor and Description
      ColorRange()
      Deprecated. 
      Initializes a new instance of the ColorRange class.
      ColorRange(Color exactColor)
      Deprecated. 
      Initializes a new instance of the ColorRange class.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      float getMaxBrightness()
      Deprecated. 
      Gets the ending brightness value.
      float getMaxHue()
      Deprecated. 
      Gets the ending hue value, in degrees.
      float getMaxSaturation()
      Deprecated. 
      Gets the ending saturation value.
      float getMinBrightness()
      Deprecated. 
      Gets the starting brightness value.
      float getMinHue()
      Deprecated. 
      Gets the starting hue value, in degrees.
      float getMinSaturation()
      Deprecated. 
      Gets the starting saturation value.
      boolean isEmpty()
      Deprecated. 
      Gets a value indicating whether only the empty color is in range.
      void setEmpty(boolean value)
      Deprecated. 
      Sets a value indicating whether only the empty color is in range.
      void setMaxBrightness(float value)
      Deprecated. 
      Sets the ending brightness value.
      void setMaxHue(float value)
      Deprecated. 
      Sets the ending hue value, in degrees.
      void setMaxSaturation(float value)
      Deprecated. 
      Sets the ending saturation value.
      void setMinBrightness(float value)
      Deprecated. 
      Sets the starting brightness value.
      void setMinHue(float value)
      Deprecated. 
      Sets the starting hue value, in degrees.
      void setMinSaturation(float value)
      Deprecated. 
      Sets the starting saturation value.
    • Constructor Detail

      • ColorRange

        public ColorRange()
        Deprecated. 

        Initializes a new instance of the ColorRange class.

      • ColorRange

        public ColorRange(Color exactColor)
        Deprecated. 

        Initializes a new instance of the ColorRange class.

        Parameters:
        exactColor - The exact color from which the range is created.
    • Method Detail

      • getMinHue

        public final float getMinHue()
        Deprecated. 

        Gets the starting hue value, in degrees.

        Returns:
        The starting hue value, in degrees.
      • setMinHue

        public final void setMinHue(float value)
        Deprecated. 

        Sets the starting hue value, in degrees.

        Parameters:
        value - The starting hue value, in degrees.
      • getMaxHue

        public final float getMaxHue()
        Deprecated. 

        Gets the ending hue value, in degrees.

        Returns:
        The ending hue value, in degrees.
      • setMaxHue

        public final void setMaxHue(float value)
        Deprecated. 

        Sets the ending hue value, in degrees.

        Parameters:
        value - The ending hue value, in degrees.
      • getMinSaturation

        public final float getMinSaturation()
        Deprecated. 

        Gets the starting saturation value.

        Returns:
        The saturation ranges from 0.0 through 1.0, where 0.0 is grayscale and 1.0 is the most saturated.
      • setMinSaturation

        public final void setMinSaturation(float value)
        Deprecated. 

        Sets the starting saturation value.

        Parameters:
        value - The saturation ranges from 0.0 through 1.0, where 0.0 is grayscale and 1.0 is the most saturated.
      • getMaxSaturation

        public final float getMaxSaturation()
        Deprecated. 

        Gets the ending saturation value.

        Returns:
        The saturation ranges from 0.0 through 1.0, where 0.0 is grayscale and 1.0 is the most saturated.
      • setMaxSaturation

        public final void setMaxSaturation(float value)
        Deprecated. 

        Sets the ending saturation value.

        Parameters:
        value - The saturation ranges from 0.0 through 1.0, where 0.0 is grayscale and 1.0 is the most saturated.
      • getMinBrightness

        public final float getMinBrightness()
        Deprecated. 

        Gets the starting brightness value.

        Returns:
        The brightness ranges from 0.0 through 1.0, where 0.0 represents black and 1.0 represents white.
      • setMinBrightness

        public final void setMinBrightness(float value)
        Deprecated. 

        Sets the starting brightness value.

        Parameters:
        value - The brightness ranges from 0.0 through 1.0, where 0.0 represents black and 1.0 represents white.
      • getMaxBrightness

        public final float getMaxBrightness()
        Deprecated. 

        Gets the ending brightness value.

        Returns:
        The brightness ranges from 0.0 through 1.0, where 0.0 represents black and 1.0 represents white.
      • setMaxBrightness

        public final void setMaxBrightness(float value)
        Deprecated. 

        Sets the ending brightness value.

        Parameters:
        value - The brightness ranges from 0.0 through 1.0, where 0.0 represents black and 1.0 represents white.
      • isEmpty

        public final boolean isEmpty()
        Deprecated. 

        Gets a value indicating whether only the empty color is in range.

        Returns:
        True if only the empty color is in range (HSB ranges are ignored); otherwise, false.
      • setEmpty

        public final void setEmpty(boolean value)
        Deprecated. 

        Sets a value indicating whether only the empty color is in range.

        Parameters:
        value - True if only the empty color is in range (HSB ranges are ignored); otherwise, false.