public class LevelChannel extends Object
Class for working with channels in Levels Adjustment Layer
Modifier and Type | Method and Description |
---|---|
short |
getInputHighlightLevel()
Gets the input highlight level.
|
float |
getInputMidtoneLevel()
Gets the input midtone level float.
|
short |
getInputShadowLevel()
Gets the input shadow level.
|
short |
getOutputHighlightLevel()
Gets the output highlight level.
|
short |
getOutputShadowLevel()
Gets the output shadow level.
|
void |
setInputHighlightLevel(short value)
Sets the input highlight level.
|
void |
setInputMidtoneLevel(float value)
Sets the input midtone level float.
|
void |
setInputShadowLevel(short value)
Sets the input shadow level.
|
void |
setOutputHighlightLevel(short value)
Sets the output highlight level.
|
void |
setOutputShadowLevel(short value)
Sets the output shadow level.
|
public final short getInputShadowLevel()
Gets the input shadow level.
com.aspose.ms.System.ArgumentOutOfRangeException
- Input Shadow Level can be set only in range from 0 to " + (this.InputHighlightLevel - 2)public final void setInputShadowLevel(short value)
Sets the input shadow level.
value
- the input shadow level.com.aspose.ms.System.ArgumentOutOfRangeException
- Input Shadow Level can be set only in range from 0 to " + (this.InputHighlightLevel - 2)public final short getInputHighlightLevel()
Gets the input highlight level.
com.aspose.ms.System.ArgumentOutOfRangeException
- Input Highlight Level can be set only in range from " + (this.InputShadowLevel + 2) + " to 255public final void setInputHighlightLevel(short value)
Sets the input highlight level.
value
- the input highlight level.com.aspose.ms.System.ArgumentOutOfRangeException
- Input Highlight Level can be set only in range from " + (this.InputShadowLevel + 2) + " to 255public final float getInputMidtoneLevel()
Gets the input midtone level float.
com.aspose.ms.System.ArgumentOutOfRangeException
- Input Midtone Level can be set only in range from 0.01 to 9.99public final void setInputMidtoneLevel(float value)
Sets the input midtone level float.
value
- the input midtone level float.com.aspose.ms.System.ArgumentOutOfRangeException
- Input Midtone Level can be set only in range from 0.01 to 9.99public final short getOutputShadowLevel()
Gets the output shadow level.
com.aspose.ms.System.ArgumentOutOfRangeException
- Output Shadow Level can be set only in range from 0 to " + (this.OutputHighlightLevel - 2)public final void setOutputShadowLevel(short value)
Sets the output shadow level.
value
- the output shadow level.com.aspose.ms.System.ArgumentOutOfRangeException
- Output Shadow Level can be set only in range from 0 to " + (this.OutputHighlightLevel - 2)public final short getOutputHighlightLevel()
Gets the output highlight level.
com.aspose.ms.System.ArgumentOutOfRangeException
- Output Highlight Level can be set only in range from " + (this.OutputShadowLevel + 2) + " to 255public final void setOutputHighlightLevel(short value)
Sets the output highlight level.
value
- the output highlight level.com.aspose.ms.System.ArgumentOutOfRangeException
- Output Highlight Level can be set only in range from " + (this.OutputShadowLevel + 2) + " to 255