Packages

 

com.aspose.imaging.fileformats.psd.layers.layerresources

Class LevelChannel

  • java.lang.Object
    • com.aspose.imaging.fileformats.psd.layers.layerresources.LevelChannel


  • public class LevelChannel
    extends Object

    Class for working with channels in Levels Adjustment Layer

    • Method Detail

      • getInputShadowLevel

        public final short getInputShadowLevel()

        Gets the input shadow level.

        Returns:
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Input Shadow Level can be set only in range from 0 to " + (this.InputHighlightLevel - 2)
      • setInputShadowLevel

        public final void setInputShadowLevel(short value)

        Sets the input shadow level.

        Parameters:
        value -
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Input Shadow Level can be set only in range from 0 to " + (this.InputHighlightLevel - 2)
      • getInputHighlightLevel

        public final short getInputHighlightLevel()

        Gets the input highlight level.

        Returns:
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Input Highlight Level can be set only in range from " + (this.InputShadowLevel + 2) + " to 255
      • setInputHighlightLevel

        public final void setInputHighlightLevel(short value)

        Sets the input highlight level.

        Parameters:
        value -
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Input Highlight Level can be set only in range from " + (this.InputShadowLevel + 2) + " to 255
      • getInputMidtoneLevel

        public final float getInputMidtoneLevel()

        Gets the input midtone level float.

        Returns:
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Input Midtone Level can be set only in range from 0.01 to 9.99
      • setInputMidtoneLevel

        public final void setInputMidtoneLevel(float value)

        Sets the input midtone level float.

        Parameters:
        value -
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Input Midtone Level can be set only in range from 0.01 to 9.99
      • getOutputShadowLevel

        public final short getOutputShadowLevel()

        Gets the output shadow level.

        Returns:
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Output Shadow Level can be set only in range from 0 to " + (this.OutputHighlightLevel - 2)
      • setOutputShadowLevel

        public final void setOutputShadowLevel(short value)

        Sets the output shadow level.

        Parameters:
        value -
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Output Shadow Level can be set only in range from 0 to " + (this.OutputHighlightLevel - 2)
      • getOutputHighlightLevel

        public final short getOutputHighlightLevel()

        Gets the output highlight level.

        Returns:
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Output Highlight Level can be set only in range from " + (this.OutputShadowLevel + 2) + " to 255
      • setOutputHighlightLevel

        public final void setOutputHighlightLevel(short value)

        Sets the output highlight level.

        Parameters:
        value -
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Output Highlight Level can be set only in range from " + (this.OutputShadowLevel + 2) + " to 255