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

- show all comments
user icon Anonymous on September 12th 2020

how do you cancel?

user icon Anonymous on September 25th 2020

how to use as a arrow?

user icon Anonymous on September 26th 2020

how do you make your pencil larger

user icon Anonymous on October 1st 2020

how to give a border around the mouse pointer

user icon Anonymous on October 7th 2020

HOW TO APPLY CURSOR

user icon Anonymous on November 2nd 2020

how do you erase
?

user icon Anonymous on November 16th 2020

how to undo ?

user icon Anonymous on December 8th 2020

How to erase?!?!?!?!?

to undo is ctrl z

user icon Anonymous on December 16th 2020

how do you move the cursor?

user icon Anonymous on January 21st

hot to eerase

user icon Anonymous
I wish there were...
Select background