public class LevelChannel extends Object
Class for working with channels in Levels Adjustment Layer
Modifier and Type | Method and Description |
---|---|
short |
getInputHighlightLevel()
Gets or sets the input highlight level.
|
float |
getInputMidtoneLevel()
Gets or sets the input midtone level float.
|
short |
getInputShadowLevel()
Gets or sets the input shadow level.
|
short |
getOutputHighlightLevel()
Gets or sets the output highlight level.
|
short |
getOutputShadowLevel()
Gets or sets the output shadow level.
|
void |
setInputHighlightLevel(short value)
Gets or sets the input highlight level.
|
void |
setInputMidtoneLevel(float value)
Gets or sets the input midtone level float.
|
void |
setInputShadowLevel(short value)
Gets or sets the input shadow level.
|
void |
setOutputHighlightLevel(short value)
Gets or sets the output highlight level.
|
void |
setOutputShadowLevel(short value)
Gets or sets the output shadow level.
|
public final short getInputShadowLevel()
Gets or sets the input shadow level.
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.public final void setInputShadowLevel(short value)
Gets or sets the input shadow level.
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.public final short getInputHighlightLevel()
Gets or sets the input highlight level.
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.public final void setInputHighlightLevel(short value)
Gets or sets the input highlight level.
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.public final float getInputMidtoneLevel()
Gets or sets the input midtone level float.
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.public final void setInputMidtoneLevel(float value)
Gets or sets the input midtone level float.
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.public final short getOutputShadowLevel()
Gets or sets the output shadow level.
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.public final void setOutputShadowLevel(short value)
Gets or sets the output shadow level.
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.public final short getOutputHighlightLevel()
Gets or sets the output highlight level.
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.public final void setOutputHighlightLevel(short value)
Gets or sets the output highlight level.
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.