Skip to content

textmode.js / layering / TextmodeLayer / blendMode

Method: blendMode()

ts
blendMode(mode?): void | LayerBlendMode;

Set or get this layer's blend mode.

Pass a LayerBlendMode constant such as t.BLEND_ADDITIVE.

Parameters

ParameterTypeDescription
mode?LayerBlendModeBlend mode to apply.

Returns

void | LayerBlendMode

Current blend mode as a numeric LayerBlendMode when called without arguments.

Example