<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.
Property | Type |
---|---|
$s.disabled | boolean |
$s.fixed | boolean |
$s.fixLocation | boolean |
$s.hidden | boolean |
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 styleNumber
s and , which are used in graphing geometry.
Note that the <styleDefinitions>
block occurs within a <setup>
block, and can be located anywhere in the document.