Package-level declarations

Types

Link copied to clipboard
class Cols

A column specification for a grid.

Link copied to clipboard
class GridCharacters(val horiz: Char, val vert: Char, val topLeft: Char, val topCross: Char, val topRight: Char, val leftCross: Char, val cross: Char, val rightCross: Char, val botLeft: Char, val botCross: Char, val botRight: Char)

A list of ASCII characters which define a grid's borders.

Link copied to clipboard
class GridScope(cols: Cols)

A scope used when constructing a grid, allowing the user to declare cells.

Functions

Link copied to clipboard
fun RenderScope.grid(cols: Cols, targetWidth: Int? = null, characters: GridCharacters = GridCharacters.ASCII, paddingLeftRight: Int = 0, justification: Justification = Justification.LEFT, maxCellHeight: Int = Int.MAX_VALUE, render: GridScope.() -> Unit)

Declare a grid of cells.