EffectPropertyDistance

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

The distance of an effect.

Parameters
NameTypeDescription
mEffect

An expression which evaluates to an effect.

Example
// Create an effect with distance 5
variable tProps as Array
put the empty array into tProps

put 5 into tProps["distance"]

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

// Set the effect distance
set the distance of tEffect to 50
Description

The distance of mEffect as a number. Distance applies to inner shadow, and outer shadow effect types

Tagscanvas