Tool PENCIL
From RealWorld Wiki
PENCIL is a drawing tool capable of drawing a simple polyline. The polyline is not anti-aliased and each pixel on the polyline can be replaced by a simple pattern.
[edit] Scripting parameters
PENCIL tool can be used from scripts. The command in script must have the following arguments:
- tip_style (optional) - one of "SINGLE" (default), "SQUARE3", "SQUARE5", "ROUND3", "ROUND5", "DIAMOND5", "NESW3", "NESW5".
- coords - pairs of integral numbers representing coordinates. There must be at least 4 numbers to define X and Y coordinates of two points.
[edit] Example
DrawTool.PENCIL(Document, "DIAMOND5", 10, 10, 30, 90);