EffectPropertySource

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

The source of an effect.

Parameters
NameTypeDescription
mEffect

An expression which evaluates to an effect.

Example
// Create an effect with source set to "center"
variable tProps as Array
put the empty array into tProps

put "center" into tProps["source"]

variable tEffect as Effect
put inner glow effect with properties tProps into tEffect

// Set the effect source to "edge"
set the source of tEffect to "edge"
Description

The source of mEffect as a string. Can be one of "center" or "edge". Source applies to inner glow effects and determines where the glow extends from. Defaults to "edge".

Tagscanvas