class Hpdf::Cell
- Hpdf::Cell
- Reference
- Object
Overview
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.
Defined in:
hpdf/table.crConstructors
-
.new(*, span : Number = 1, &block : Page, Rectangle -> )
Creates a cell with the provided block to render.
Instance Method Summary
- #block : Hpdf::Page, Hpdf::Rectangle -> Nil
- #block=(block : Hpdf::Page, Hpdf::Rectangle -> _)
- #span : Float32
- #span=(span : Float32)
Constructor Detail
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