new LayerColorAdjustment(oLayer)
The LayerColorAdjustment object holds an expression for Red, Green and Blue chanels, to apply on the layer's image
Parameters:
Name | Type | Description |
---|---|---|
oLayer |
Layer | Specifies the owner layer |
Methods
GetBlue() → {string}
The GetBlue() method indicates percent value / expression of the blue-chanel (equivalent of layers's [brightness.blue] / [contrast.blue] flag).
The expression supports the following keywords:
"value", indicates the value of the chanel
Returns:
Returns the percent value / expression of the blue-chanel.
- Type
- string
GetGreen() → {string}
The GetGreen() method indicates percent value / expression of the green-chanel (equivalent of layers's [brightness.green] / [contrast.green] flag).
The expression supports the following keywords:
"value", indicates the value of the chanel
Returns:
Returns the percent value / expression of the green-chanel.
- Type
- string
GetRed() → {string}
The GetRed() method indicates percent value / expression of the red-chanel (equivalent of layers's [brightness.red] / [contrast.red] flag).
The expression supports the following keywords:
"value", indicates the value of the chanel
Returns:
Returns the percent value / expression of the red-chanel.
- Type
- string
SetBlue(value)
The SetBlue() method sets the percent value / expression of the blue-chanel (equivalent of layers's [brightness.blue] / [contrast.blue] flag).
The expression supports the following keywords:
"value", indicates the value of the chanel
Parameters:
Name | Type | Description |
---|---|---|
value |
string | Specifies the percent value / expression of the blue-chanel. |
SetGreen(value)
The SetGreen() method sets the percent value / expression of the green-chanel (equivalent of layers's [brightness.green] / [contrast.green] flag).
The expression supports the following keywords:
"value", indicates the value of the chanel
Parameters:
Name | Type | Description |
---|---|---|
value |
string | Specifies the percent value / expression of the green-chanel. |
SetRed(value)
The SetRed() method sets the percent value / expression of the red-chanel (equivalent of layers's [brightness.red] / [contrast.red] flag).
The expression supports the following keywords:
"value", indicates the value of the chanel
Parameters:
Name | Type | Description |
---|---|---|
value |
string | Specifies the percent value / expression of the red-chanel. |