Packages

 

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

Class LevelChannel

  • java.lang.Object
    • com.aspose.psd.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 or sets the input shadow level.

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

        public final void setInputShadowLevel(short value)

        Gets or sets the input shadow level.

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

        public final short getInputHighlightLevel()

        Gets or sets the input highlight level.

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

        public final void setInputHighlightLevel(short value)

        Gets or sets the input highlight level.

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

        public final float getInputMidtoneLevel()

        Gets or sets the input midtone level float.

        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Input Midtone Level can be set only in range from 0.01 to 9.99 Value: The input midtone level float.
      • setInputMidtoneLevel

        public final void setInputMidtoneLevel(float value)

        Gets or sets the input midtone level float.

        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Input Midtone Level can be set only in range from 0.01 to 9.99 Value: The input midtone level float.
      • getOutputShadowLevel

        public final short getOutputShadowLevel()

        Gets or sets the output shadow level.

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

        public final void setOutputShadowLevel(short value)

        Gets or sets the output shadow level.

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

        public final short getOutputHighlightLevel()

        Gets or sets the output highlight level.

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

        public final void setOutputHighlightLevel(short value)

        Gets or sets the output highlight level.

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