new AssistColorBlindEffectAction()

Description

Applies stripes to the image to help people with common color-blind conditions to differentiate between colors that are similar for them. You can replace colors using the xray() method.

Details

Visit Effect for an example

Methods


xray() → {this}

Description

Replaces problematic colors with colors that are easier to differentiate.

Returns

getActionTag() → {string}

Description

Returns the custom name tag that was given to this action

Returns

stripesStrength( strength ) → {this}

Description

Applies stripes of the specified intensity to help people with common color blind conditions to differentiate between colors that are similar for them.

Parameters
Name Type Description
strength number | string

The intensity of the stripes. (Range: 1 to 100, Server default: 10)

Returns

setActionTag() → {this}

Description

Sets the custom name tag for this action

Returns

toString() → {string}

Description

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

Returns
Details

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