Skip to content

Line element

A straight line from (x, y) spanning width and/or height. In flow layouts, a horizontal rule.

- { type: line }
line.report.yaml
title: Lines
body:
reportHeader:
- gap: 12pt
content:
- { type: line, width: 60%, stroke: "0.5pt solid #000000" }
- { type: line, width: 60%, stroke: "2pt solid #6B4428" }
- { type: line, width: 60%, stroke: "1pt dashed #6B4428" }
- { type: line, width: 60%, stroke: "1.5pt dotted #3E2A1A" }
The line example, rendered by Tagua.

Type: stroke · Default: 0.5pt solid #000000

Width, style and color of the line.

It also has the properties of every element and the style properties.