new GradientFadeEffectAction()

Description

Applies a gradient fade effect from one edge of the image.

Details

Visit Effect for an example

Methods


strength( strength )

Description

Sets the strength of the fade effect.

Parameters
Name Type Description
strength number

The strength of the fade effect. (Range: 0 to 100, Server default: 20)


type( type )

Description

Sets the mode of gradient fade.

Parameters
Name Type Description
type string | Qualifiers.GradientFade

The mode of gradient fade.


getActionTag() → {string}

Description

Returns the custom name tag that was given to this action

Returns

setActionTag() → {this}

Description

Sets the custom name tag for this action

Returns

horizontalStartPoint( x )

Description

Sets the x dimension of the start point.

Parameters
Name Type Description
x number | string

The x dimension of the start point.


toString() → {string}

Description

Calls toString() on all child qualifiers (implicitly by using .join()).

Returns
Details

verticalStartPoint( y )

Description

Sets the y dimension of the start point.

Parameters
Name Type Description
y number | string

The y dimension of the start point.


addQualifier( qualifier ) → {this}

Description

Adds the parameter to the action.

Parameters
Name Type Description
qualifier SDK.Qualifier
Returns

addFlag( flag ) → {this}

Description

Adds a flag to the current action.

Parameters
Name Type Description
flag Qualifiers.Flag
Returns
Details