LayerColorAdjustment class (Gauge)

LayerColorAdjustment(oLayer)

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
LayerColorAdjustment

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
GetBlue

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
GetGreen

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
GetRed

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.
SetBlue

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.
SetGreen

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.
SetRed