CONTENTS GUI scenes

The Cad GUI scene

To activate the Cad GUI scene use the applet parameter:

<param name="gui" value="cad.gui">

Customize the Cad scene using the following applet parameters:

bgcolorThe GUI background specified as #RRGGBB. Specify it according to your page design.
tools Defines the list of drawing tools to dispaly. The tool names should be separated by comma.
For example:
<param name="tools" value="line,curve,arrow">
The list of supported tools can be found here.
tool_rows Nubmer of rows to arrange the tools on the tool panel.
tool_cols Nubmer of columns to arrange the tools on the tool panel.
colors The list of colors to display. For example:
#FFFFFF,#FF0000,#0000FF,#000000
The colors should be defined as #RRGGBB and separated by comma. See also about BiColors.
color_rows Nubmer of rows to arrange the colors swatches on the color panel.
color_cols Nubmer of columns to arrange the colors swatches on the color panel.
strokes The list of available strokes separated by commas. The supported strokes can be found here.
textures The list of available textures separated by commas. The supported textures can be found here.
actions The list of available actions. The following actions are supported:
open, save,print,clear,undo,redo,zoomin,zoomout, paste, insert_clipart
cliparts Specifies the list of clipart files to display. Clipart files can be images in GIF, JPEG or PNG format.
Example:
clipart1.gif, clipart2.gif, clipart3.gif
The cliparts should be located in the subdirectory "cliparts" of the applet's directory. You can change the name of subdirectory using the parameter clipart_dir.
clipart_dir The directory where clipart files are located. The directory should be a subdirectory of the applet's directory and specified relative to it.
clipart_tooltips Specifies the list of tool tips for the cliparts.