Hpdf::Cell
Inherits Hpdf::BaseCell / Reference / Object
The cell uses a simple captured block to render the cell content.
Constructors
new(*, span : Number = 1, allow_grow = false, &block : Page, Rectangle -> )
Creates a cell with the provided block to render. The block provides a reference to the page and a rectange of the cell.
- span a cell can expand more then one cell (in the right direction)
the default value
1means no extend
Instance methods
block
Source