class

Hpdf::TextCell

Inherits Hpdf::BaseCell / Reference / Object

The text cell renders the given text

Constructors

new(text : String, *, span : Number = 1, allow_grow = false, font : String = Hpdf::Base14::Helvetica, font_size : Number = 11, align : Hpdf::TextAlignment = Hpdf::TextAlignment::Center, bg_gray : Float32 = 0)
Source

Instance methods

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)

renders the captured block

Source