abstract class Hpdf::BaseCell
- Hpdf::BaseCell
- 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.
Direct Known Subclasses
Defined in:
hpdf/table.crConstructors
-
.new(*, span : Number = 1, allow_grow : Bool = false)
Creates a cell with the provided block and stores the cell span.
Instance Method Summary
- #allow_grow=(allow_grow : Bool)
- #allow_grow? : Bool
-
#grow_height : Float64
returns the factor by which the cell wants to grow in height
- #rect : Rectangle | Nil
- #rect=(rect : Rectangle | Nil)
- #render(page : Page)
- #span : Float32
- #span=(span : Float32)
Constructor Detail
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