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 January 25th
-) bruh

its easy

user icon Anonymous on January 29th

It is too big even at smallest size

user icon Anonymous on February 13th

:-DКласс мне 8 лет

user icon Anonymous on February 26th

can you make a perfect circle or rectangle?

user icon Anonymous on March 8th

lol

user icon Anonymous on March 11th

how do you erase
?

user icon Anonymous on March 12th

How to animate?

user icon Anonymous on March 25th

how do you complete your coursour

plz

now

user icon Anonymous on March 29th

How to erase

user icon Anonymous on April 13th

idk

user icon Anonymous
What about ICL files?
Vista & Win 7 icons