Module Ruport::Formatter::PDF::DrawingHelpers
In: lib/ruport/formatter/pdf.rb

This module provides tools to simplify some common drawing operations it is included by default in the PDF formatter

Methods

Public Instance methods

Alias for PDF::Writer#absolute_bottom_margin

Alias for PDF::Writer#y

Draws text at an absolute location, defined by :y, :x1|:left, :x2|:right

All usual options to add_text are also supported

draws a horizontal line from x1 to x2

draws a horizontal line from left_boundary to right_boundary

hr()

Alias for horizontal_rule

Alias for PDF::Writer#absolute_left_margin

Alias for PDF::Writer#absolute_right_margin

Alias for PDF::Writer#absolute_top_margin

draws a vertical line at x from y1 to y2

[Validate]