Packages

 

com.aspose.imaging.fileformats.psd.layers.adjustmentlayers

Class HueSaturationLayer

    • Method Detail

      • getHue

        public final short getHue()

        Gets the hue.

        Returns:
        the hue.
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Hue must be in range from -180 to +180
      • setHue

        public final void setHue(short value)

        Sets the hue.

        Parameters:
        value - the hue.
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Hue must be in range from -180 to +180
      • getSaturation

        public final short getSaturation()

        Gets the saturation.

        Returns:
        the saturation.
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Saturation must be in range from -100 to +100
      • setSaturation

        public final void setSaturation(short value)

        Sets the saturation.

        Parameters:
        value - the saturation.
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Saturation must be in range from -100 to +100
      • getLightness

        public final short getLightness()

        Gets the lightness.

        Returns:
        the lightness.
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Lightness must be in range from -100 to +100
      • setLightness

        public final void setLightness(short value)

        Sets the lightness.

        Parameters:
        value - the lightness.
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Lightness must be in range from -100 to +100
      • getColorize

        public final boolean getColorize()

        Gets a value indicating whether this HueSaturationLayer is colorize.

        Returns:
        a value indicating whether this HueSaturationLayer is colorize.
      • setColorize

        public final void setColorize(boolean value)

        Sets a value indicating whether this HueSaturationLayer is colorize.

        Parameters:
        value - a value indicating whether this HueSaturationLayer is colorize.
      • getRange

        public final ColorRangeHsl getRange(int index)

        Gets the range.

        Parameters:
        index - The index.
        Returns:
        Color Range Hsl