class

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 1 means no extend
Source

Instance methods

allow_grow=(allow_grow : Bool)
Source
allow_grow?
Source
grow_height

returns the factor by which the cell wants to grow in height

Source
rect
Source
rect=(rect : Rectangle | Nil)
Source
render(page : Page)
Source
span
Source
span=(span : Float32)
Source