textmode.js / layering / TextmodeLayer / blendMode
Method: blendMode()
ts
blendMode(mode?): void | LayerBlendMode;Set or get this layer's blend mode.
Pass a LayerBlendMode constant (e.g. t.BLEND_ADDITIVE) or a legacy string (e.g. 'additive' — deprecated).
Parameters
| Parameter | Type | Description |
|---|---|---|
mode? | string | LayerBlendMode | Blend mode to apply. |
Returns
void | LayerBlendMode
Current blend mode as a numeric LayerBlendMode when called without arguments.