EffectPropertyKnockOut

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the knockout of <mEffect>
Associationscom.livecode.canvas
Summary

The knockout of an effect.

Parameters
NameTypeDescription
mEffect

An expression which evaluates to an effect.

Example
// Create an effect with knockout set to false
variable tProps as Array
put the empty array into tProps

put false into tProps["knockout"]

variable tEffect as Effect
put outer shadow effect with properties tProps into tEffect

// Set the effect knockout to true
set the knockout of tEffect to true
Description

The knockout setting of mEffect as a boolean. Knockout applies to outer shadow effects and determines whether or not the alpha channel of the source image is applied to the blurred shadow created by the effect. Defaults to true.

Tagscanvas