EffectPropertyBlendMode
Type
operator
Summary
The blend mode of an effect.
Syntax
the blend mode of <mEffect>
Description
The blend mode of mEffect as a string. Can be any one of:
- clear
- copy
- source over
- source in
- source out
- destination over
- destination in
- destination out
- destination atop
- xor
- plus darker
- plus lighter
- multiply
- screen
- overlay
- darken
- lighten
- color dodge
- color burn
- soft light
- hard light
- difference
- exclusion
- hue
- saturation
- color
- luminosity
Parameters
Name | Type | Description |
---|---|---|
mEffect | An expression which evaluates to an effect. |
Examples
// Create an effect with blend mode "source over"
variable tProps as Array
put the empty array into tProps
put "source over" into tProps["blend mode"]
variable tEffect as Effect
put outer shadow effect with properties tProps into tEffect
// Use color dodge mode for effect
set the blend mode of tEffect to "color dodge"
Related
operator: CanvasPropertyBlendMode