Elementname: Rule

CSS name: rule

Description

Draw a horizontal or vertical rule in the grid.

Allowed attributes: color, dashed, direction, length, rulewidth

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

PlaceObject

Commands

Version: 3.5.9 | Start page | Command reference | Other language: German