Class Prawn::Document::Grid
In: lib/prawn/layout/grid.rb
Parent: Object

A Grid represents the entire grid system of a Page and calculates the column width and row height of the base box.

Methods

Attributes

columns  [R] 
gutter  [R] 
pdf  [R] 
rows  [R] 

Public Class methods

Public Instance methods

Calculates the base width of boxes.

Calculates the base height of boxes.

Diagnostic tool to show all of the grids. Defaults to gray.

[Validate]