Rule
Draw a horizontal or vertical rule in the grid.
Child elements
(none)
Parent elements
Frame
,
Overlay
,
PlaceObject
,
Position
,
Transformation
Attributes
color
(text, optional, CSS property: background-color)
-
The color of the rule. Defaults to black.
dashed
(optional, since version 2.3.50)
-
Use a dashed rule instead of a solid rule.
yes
-
Draw a dashed rule.
no
-
Draw a solid rule.
direction
()
-
The direction of the rule.
horizontal
-
Horizontal rule
vertical
-
Vertical rule
length
(number or length)
-
The length of the rule in grid cells or as an absolute length.
rulewidth
(number or length, optional, CSS property: height)
-
The rule thickness given in grid cells or as a length.
Example
<Record element="data">
<PlaceObject>
<Rule direction="horizontal" length="10" rulewidth="3"/>
</PlaceObject>
</Record>
See also
The section about
rules in the basics chapter.