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 April 13th 2016

How to change the cursor to draw?

user icon Anonymous on June 9th 2016

I know this is an extremely stupid question but how do you delete what you have drawn?

user icon Anonymous on June 13th 2016

I'm new so, how do u submit\enter\download your custom cursor you made? ;-)

user icon Anonymous on August 26th 2016

I would like to know how I can create an inverted set of cursors, like the one I can select from Microsoft.

user icon Anonymous on October 5th 2016

how do I use it

user icon Anonymous on October 7th 2016

how do u change to the eraser

user icon Anonymous on October 11th 2016

You erase by on the white-looking pencil (in the middle of to Brush and Text tool.) 8-)

user icon Anonymous on December 15th 2016

inverted cursor "color" is white with alpha 0 (depending on RWCE settings, it will show up slightly in the editing space)

Changing cursors - youtube it


Question - can i modify the pixel size of the pencil to 2?

user icon Vlasta site administrator on December 15th 2016

No, you that would not fit the pixel grid, use Brush instead.

user icon Anonymous on March 10th

i dont save this red mouse :-(

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