table_rex v0.10.0 TableRex.Renderer.Text.Meta

The data structure for the TableRex.Renderer.Text rendering module, it holds results of style & dimension calculations to be passed down the render pipeline.

Summary

Functions

Retreives the column width at the given column index

Retreives the “inner width” of the table, which is the full width minus any frame

Retreives the row width at the given row index

Functions

col_width(meta, col_index)

Retreives the column width at the given column index.

inner_width(meta)

Retreives the “inner width” of the table, which is the full width minus any frame.

row_height(meta, row_index)

Retreives the row width at the given row index.