TableRowNode

data class TableRowNode(val cells: List<TableCellNode>, val background: PdfColor? = null, val minHeight: Dp? = null)

One physical row of a TableNode. The number of cells should match the number of TableNode.columns; if a row has fewer cells the trailing columns render as empty, and extra cells are ignored.

Constructors

Link copied to clipboard
constructor(cells: List<TableCellNode>, background: PdfColor? = null, minHeight: Dp? = null)

Properties

Link copied to clipboard
val background: PdfColor? = null

optional fill drawn behind the entire row. Useful for zebra striping (if (index % 2 == 0) light else dark).

Link copied to clipboard

the cells of this row in column order.

Link copied to clipboard
val minHeight: Dp? = null

optional floor on the row height; forces the row to be at least this tall even if all of its cells fit in less space.