EffectPropertyColor

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

The color of an effect.

Parameters
NameTypeDescription
mEffect

An expression which evaluates to an effect.

Example
// Create an effect with color "black"
variable tProps as Array
put the empty array into tProps

put color [0,0,0] into tProps["color"]

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

// Change effect color to green.
set the color of tEffect to color [0,1,0]
Description

The color of mEffect as a color.

Tagscanvas