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.


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

See also: DrawTool object, Document object

Recent comments

- show all comments
user icon Anonymous on May 9th 2015

cant wait to get yellow cursor

user icon Anonymous on May 26th 2015

там рисовать надо?

user icon Anonymous on June 8th 2015

how do you rotate on the long diagonal drawing one?

user icon Anonymous on September 26th 2015

how do you do the circle

user icon Anonymous on October 6th 2015

how do you flip the line around????????????? :-o

user icon Stoivie registered user on December 22nd 2015

Does anyone know whether or not if you can create simple designs and save them as a pencil "mode" or something? ;-)

user icon Anonymous on February 28th

it says a pixel but is like 4 squares >:(

user icon Vlasta site administrator on February 28th

change it in the configuration panel on the right side

user icon Anonymous on March 16th

omg it actually worked thx so much :-o

i just cant belive it

user icon Anonymous on April 13th

How to change the cursor to draw?

user icon Anonymous
Select background
Vista & Win 7 icons