Line Style Arguments
|
Description
|
---|---|
style
|
Selects the style of the line. For instance, multicolored, solid, dashed, and dotted.
Default value is solid.
|
color
|
Sets the color of the line.
|
weight
|
Sets the width of the line.
|
spacing
|
Sets the space between dots of the dotted style.
Default value is 0.5 mm.
|
pattern
|
Describes the pattern of the dashed line style.
Default value is 0.5 mm.
|
text_color
|
Sets the color of the line text.
|
border_color
|
Sets the color of the line border.
Default value is black.
|
border_weight
|
Sets the width of the line border in percentage where 100% is 1 and 40% is 0.4.
Default value is 0.1.
|
colorseg includes:
color—Sets the color of the segment.
length—Sets the length of the segment.
|
Applies only when multicolor is selected.
Each colorseg tag adds a color to the style.
If length is not defined then last length is used.
If there are no lengths, or all lengths are 0, then the border weight is used as length, in which case all color segments are squares.
|
|
Border is applied only if the following line style parameters are defined:
• border_color or border_weight
• solid or multicolor
• color or coloreq
|
Examples of line Arguments
|
|||
---|---|---|---|
Single color solid line: <line style="solid" color="#00ff00" weight="1" text_color="#900000"/> |
|||
Stripe with border: <then> <line style="multicolor" text_color="#0000ff" border_color="B900FC" border_weight="0.4" color="#07EDF9" weight="1"> <colorseg color="#07EDF9" length="0.6"/> <colorseg color="#FFFFFF"/> </line> </then> |
|||
Dotted: <then> <line style="dotted" spacing="2" color="#ff0000"/> </then> |
|||
Dashed: <then> <line style="dashed" pattern="3.5;1;0.5;1.0;3.5;4;" weight="0.6"/> </then> |
|||
Angled stripe: <then> <line style="multicolor" angle="30" color="#888888" weight="0.6"> <colorseg color="#ff0000" length="0.2"/> <colorseg color="#00ff00" length="0.1"/> <colorseg color="#0000ff" length="0.3"/> </line> </then>
|
|||