Hpdf::BaseCell
Inherits Reference / Object
The cell is the smallest part of the Table. It is rendered before
all grids in the order it was inserted into the Row and Table.
Constructors
new(*, span : Number = 1, allow_grow : Bool = false)
Creates a cell with the provided block and stores the cell span.
- span a cell can expand more then one cell (in the right direction)
the default value
1means no extend
Instance methods
allow_grow=(allow_grow : Bool)
Sourceallow_grow?
Sourcerect
Sourcerect=(rect : Rectangle | Nil)
Sourcerender(page : Page)
Sourcespan
Sourcespan=(span : Float32)
Source