Drawing Tools CONTENTS

Tools

The editor supports the following tools:

curve area line arrow
rect filled_rect arrow_dim arrow_path
round_rect filled_round_rect eraser text
oval filled_oval flood_fill color_picker
polyline polygon select_rect select_area
You can extends the list of tools with custom shapes. For that unpack the file res.zip located in the applet's directory and read comments in the file shapes.xml.

Colors

Colors should be specified as #RRGGBB, where RR, GG, BB are red, green, and blue components in hexadecimal format,
or #RRGGBBAA, where AA is the Alpha component (opacity).

Also the editor supports so called BiColors (two colors). If BiColor is specified the filled shapes are drawn with outlines, dashed lines/outlines are drawn with two colors alternately, and text has the background. BiColor can be defined as #RRGGBB/#RRGGBB.

Example of using BiColor #000000/#FFFF00

Strokes

The editor supports the following strokes:

solid1 solid2
solid3 solid4
dashed1 dashed2
dashed3 dashed4
dotdashed1 dotdashed2
dotdashed3 dotdashed4
zigzag zigzag2
circles stars

To define your custom strokes unpack the file res.zip (it's located in the applet's directory), go to the archive directory strokes, open the file strokes.xml, and follow the instructions in it.

Textures

The editor supports the following textures:

solid dots
hatching crosshatch
grid saw
bricks wave

To define your custom textures unpack the applet file res.zip (it's located in the applet's directory), go to the directory textures, open the file textures.xml, and follow the instructions in it.

Fonts

Fonts should be specified as: fontname-style-size
where:
 style is one of the following plain, bold, italic, bolditalic;
 size is an integer value, e.g. 12, 16, 24;

Example:

Serif-bolditalic-16

The list of available fonts depends on the client's platform. You can confidently use the following logical font names: Serif, Sanserif, Monospaced, Dialog. If you use other names (e.g. Arial, Times Roman etc.) you should remember that that font might be unvailable on the user's computer. In that case the default font (usually logical Dialog) is used. If you don't specify the font list the editor automatically displays all the fonts available on the user's computer.