textmode.js / layering / TextmodeLayer / blendMode
Method: blendMode()
ts
blendMode(mode?):
| void
| "normal"
| "darken"
| "difference"
| "exclusion"
| "lighten"
| "multiply"
| "overlay"
| "screen"
| "additive"
| "subtract"
| "softLight"
| "hardLight"
| "colorDodge"
| "colorBurn";Set or get this layer's blend mode.
Available modes are listed in TEXTMODE_LAYER_BLEND_MODES.
Parameters
| Parameter | Type | Description |
|---|---|---|
mode? | | "normal" | "darken" | "difference" | "exclusion" | "lighten" | "multiply" | "overlay" | "screen" | "additive" | "subtract" | "softLight" | "hardLight" | "colorDodge" | "colorBurn" | Blend mode to apply. |
Returns
| void | "normal" | "darken" | "difference" | "exclusion" | "lighten" | "multiply" | "overlay" | "screen" | "additive" | "subtract" | "softLight" | "hardLight" | "colorDodge" | "colorBurn"
Current blend mode when called without arguments.