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

LDFigures
Some additional shapes like callouts, arcs and arrows.

AddArc AddBlockArrow AddCallout
AddLineArrow AddRegularPolygon

AddArc(width,height,startAngle,endAngle,thickness)
Add an arc shape.
width The width of the shape.
height The height of the shape.
startAngle The starting angle in degrees.
endAngle The ending angle in degrees.
thickness The thickness of the arc in pixels.
returns The shape name.

AddBlockArrow(width,height,thickness,arrowAngle,direction)
Add an block arrow shape.
width The width of the shape.
height The height of the shape.
thickness The relative thickness of the arrow shaft, e.g. 0.25.
arrowAngle The arrow head angle in degrees.
direction The direction of the arrow: "Up", "Down", "Left" or "Right".
returns The shape name.

AddCallout(width,height,text,style,anchor)
Add a callout shape.
width The width of the shape.
height The height of the shape.
text The callout text.
style The callout style: "Cloud", "Oval", "Rectangle" or "RoundedRectangle".
anchor Position of callout anchor relative to the callout size (e.g. "X=0;Y=1.25;")
returns The shape name.

AddLineArrow(width,height,size,bend,startArrow,endArrow,startCorner)
Add a line arrow shape.
width The width of the shape.
height The height of the shape.
size The size of the arrow head in pixels.
bend The arrow bend amount (e.g. 0 is straight, 0.5 is smoothly bending).
startArrow The start arrow type: "None", "Arrow", "Open", "Oval" or "Stealth".
endArrow The end arrow type: "None", "Arrow", "Open", "Oval" or "Stealth".
startCorner The start corner position: "BottomLeft", "BottomRight", "TopLeft" or "TopRight". The arrow will terminate in the opposite corner.
returns The shape name.

AddRegularPolygon(width,height,corners,radius)
Add a regular polygon shape.
width The width of the shape.
height The height of the shape.
corners The number of corners.
radius A relative radius for star shapes (e.g. 1 for pentagon, 0.5 for 5 pointed star).
returns The shape name.