ShapeModel

ShapeModel objects are used to display a 2D object whose geometry and colour can be adjusted.

The inputs to the ShapeModel keywords set the default values for the corresponding keywords for Shape, etc.  A PolylineModel can therefore be used as a style for these objects.  For example, changing the FillColour input for a ShapeModel will change the colour of the fill for all the objects that use that ShapeModel as their DisplayModel input.

ShapeModel Inputs

Keyword

Description

Key Inputs

 

Description

A free-form string describing the object.

Shape

The graphical appearance of the object, chosen from a selection of predefined shapes.

FillColour

The colour of the filled part of the DisplayModel, defined by a colour name or RGB values.

OutlineColour

The colour of the outline of the DisplayModel, defined by a colour name or RGB values.

Filled

If TRUE, the DisplayModel will appear with a solid colour fill.  Otherwise, the DisplayModel will appear hollow.

Bold

If TRUE, the DisplayModel outline will appear thicker than normal.