class HexaPDF::Layout::TextLayouter::Box

Parent

Used for layouting. Describes an item with a fixed width, like an InlineBox or TextFragment.

Attributes

item[R]

The wrapped item.

Public Class Methods

new(item)

Creates a new Box for the item.

Public Instance Methods

height()

The height of the item.

type()

Returns :box.

width()

The width of the item.