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 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 2017

i dont save this red mouse :-(

user icon Anonymous on August 16th 2017

ive made the design now how do i make it my mouse :-)

user icon Anonymous on August 27th 2017

I have already created my mouse now how to download it :-)

user icon Anonymous on February 13th

you can download a app called daanav cursor changer and when you go on it you just select the file that you have saved your cursor to and then press the button and it should set as your cursor

user icon Anonymous
Vista & Win 7 icons
Select background