DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Graphics LineViewHelperΒΆ

This ViewHelper allows to render a simple line. By default it renders a horizontal line matching the current page width. It is however also possible to specify start and end point of the line explicitly. Please see https://tcpdf.org/examples/example_012/ to find out what values can be used on the style attribute.

Basic Usage

<pdf:graphics.line />

Advanced Usage

<pdf:graphics.line
        padding="{top: 1, right: 10, bottom: 1, left: 10}"
        style="{color: '#8C8C8C', width: 0.5}" />