CurvesDiscreteManager Class
Contents
[
Hide
]Summary: Manager for Curves Adjustment Layer that manipulates pixels’ map
Module: aspose.psd.fileformats.psd.layers.layerresources
Full Name: aspose.psd.fileformats.psd.layers.layerresources.CurvesDiscreteManager
Inheritance: CurvesManager
Aspose.PSD Version: 24.9.0
Properties
Name | Type | Access | Description |
---|---|---|---|
max_channel_count | int | r | Gets the maximum channel count. |
Methods
Name | Description |
---|---|
get_value_in_position(channel_index, position) | Gets the value in position. |
set_to_default_value_in_position(channel_index, position) | Sets to default value in position. |
set_value_in_position(channel_index, position, value) | Sets the value in position. |
set_value_of_whole_channel(channel_index, channel_value) | Sets the value of whole channel. |
Method: get_value_in_position(channel_index, position)
get_value_in_position(channel_index, position)
Gets the value in position.
Parameters:
Parameter | Type | Description |
---|---|---|
channel_index | int | Index of the channel. |
position | byte | The position. |
Returns
Type | Description |
---|---|
byte | Value of curve by its position |
Method: set_to_default_value_in_position(channel_index, position)
set_to_default_value_in_position(channel_index, position)
Sets to default value in position.
Parameters:
Parameter | Type | Description |
---|---|---|
channel_index | int | Index of the channel. |
position | byte | The position. |
Method: set_value_in_position(channel_index, position, value)
set_value_in_position(channel_index, position, value)
Sets the value in position.
Parameters:
Parameter | Type | Description |
---|---|---|
channel_index | int | Index of the channel. |
position | byte | The position. |
value | byte | The value. |
Method: set_value_of_whole_channel(channel_index, channel_value)
set_value_of_whole_channel(channel_index, channel_value)
Sets the value of whole channel.
Parameters:
Parameter | Type | Description |
---|---|---|
channel_index | int | Index of the channel. |
channel_value | byte | The channel value. |