class Prawn::Text::Formatted::Box

Formatted text box.

Generally, one would use the {Prawn::Text::Formatted#formatted_text_box} convenience method. However, using ‘Text::Formatted::Box.new` in conjunction with `#render(dry_run: true)` enables one to do calculations prior to placing text on the page, or to determine how much vertical space was consumed by the printed text