ReferencestyleDefinitions

<styleDefinitions>

<styleDefinitions> is a General Operator component that acts as a container element for one or more <styleDefinition> components. It must be placed in a <setup> block.

Attributes and Properties

The <styleDefinitions> component has no attributes.

Props for <styleDefinitions name="s">
PropertyType
$s.disabledboolean
$s.fixedboolean
$s.fixLocationboolean
$s.hiddenboolean

Example: Defining custom styles in a <styleDefinitions> block

In this example, two custom styles have been created within a <styleDefinitions> block. These styles are assigned to the styleNumbers 1010 and 1111, which are used in graphing geometry.

Note that the <styleDefinitions> block occurs within a <setup> block, and can be located anywhere in the document.