Pencil drawing tool

Log-in or register.

Pencil drawing tool

rsrc/pencil-tool.png image 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.

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.

Example

DrawTool.PENCIL(Document, "DIAMOND5", 10, 10, 30, 90);

See also: DrawTool object, Document object

Recent comments

user icon beanie registered user on November 8th 2011

help me ;-) :-D :-) :-( |-) :-o 8-)

8-)

user icon Anonymous on January 28th 2012

i wish you didnt havta download

user icon Anonymous
Vista & Win 7 icons
I wish there were...