LitDev Extension API

GW LD3DView LDArray LDBits LDBlueTooth
LDCall LDChart LDClient LDClipboard LDColours
LDCommPort LDController LDControls LDCursors LDDataBase
LDDateTime LDDebug LDDialogs LDDictionary LDEffect
LDEmail LDEncryption LDEvents LDFastArray LDFastShapes
LDFigures LDFile LDFinances LDFocus LDftp
LDGeography LDGraph LDGraphicsWindow LDHashTable LDHID
LDIcon LDImage LDInline LDIOWarrior LDList
LDLogic LDMath LDMathX LDMatrix LDMusic
LDNetwork LDPhysics LDProcess LDQueue LDRegex
LDResources LDScrollBars LDSearch LDServer LDSettings
LDShapes LDShell LDSort LDSound LDSpeech
LDStatistics LDStopwatch LDText LDTextWindow LDTimer
LDTranslate LDUnits LDUtilities LDVector LDWaveForm
LDWebCam LDWindows LDxml LDZip TW

LDEffect
Apply visual effects to any shape or control.

Bloom Blur Clear
ColourTone DropShadow Embossed
Magnify Monochrome Pixelate
Ripple Sharpen Swirl

Bloom(shapeName,properties)
Apply a bloom effect.
shapeName The shape to apply the effect to.
properties An array of optional ("" for none) properties, indexed by the property name:
BaseIntensity (default 1)
BaseSaturation (default 1)
BloomIntensity (default 1.25)
BloomSaturation (default 1)
Threshold (default 0.25)


Blur(shapeName,properties)
Apply a blur effect.
shapeName The shape to apply the effect to.
properties An array of optional ("" for none) properties, indexed by the property name:
KernelType (default "Gaussian" or "Box")
Radius (default 5)


Clear(shapeName)
Clear effects.
shapeName The shape to clear the effects from.

ColourTone(shapeName,properties)
Apply a colour tone effect.
shapeName The shape to apply the effect to.
properties An array of optional ("" for none) properties, indexed by the property name:
Desaturation (default 0.5)
ToneAmount (default 0.5)
LightColor (default "#FFE580")
DarkColor (default "#338000")


DropShadow(shapeName,properties)
Apply a drop shadow effect.
shapeName The shape to apply the effect to.
properties An array of optional ("" for none) properties, indexed by the property name:
BlurRadius (default 5)
Color (default "Black")
Direction (default 315)
Opacity (default 1)
ShadowDepth (default 5)


Embossed(shapeName,properties)
Apply an embossed effect.
shapeName The shape to apply the effect to.
properties An array of optional ("" for none) properties, indexed by the property name:
Amount (default 3)
Color (default "Gray")
Height (default 0.001)


Magnify(shapeName,properties)
Apply a magnify effect.
shapeName The shape to apply the effect to.
properties An array of optional ("" for none) properties, indexed by the property name:
Amount (default 0.5)
Center (default "X=0.5;Y=0.5;")
InnerRadius (default 0.2)
OuterRadius (default 0.4)


Monochrome(shapeName,properties)
Apply a monochrome effect.
shapeName The shape to apply the effect to.
properties An array of optional ("" for none) properties, indexed by the property name:
Color (default "White")


Pixelate(shapeName,properties)
Apply a pixelate effect.
shapeName The shape to apply the effect to.
properties An array of optional ("" for none) properties, indexed by the property name:
Pixelation (default 0.75)


Ripple(shapeName,properties)
Apply a ripple effect.
shapeName The shape to apply the effect to.
properties An array of optional ("" for none) properties, indexed by the property name:
Center (default "X=0.5;Y=0.5;")
Frequency (default 40)
Magnitude (default 0.1)
Phase (default 10)


Sharpen(shapeName,properties)
Apply a sharpen effect.
shapeName The shape to apply the effect to.
properties An array of optional ("" for none) properties, indexed by the property name:
Amount (default 2)
Height (default 0.0005)


Swirl(shapeName,properties)
Apply a swirl effect.
shapeName The shape to apply the effect to.
properties An array of optional ("" for none) properties, indexed by the property name:
AngleFrequency (default 45)
Center (default "X=0.5;Y=0.5;")
TwistAmount (default 10)