ltk

Module text

Source
Expand description

Single- or multi-line text: a font-sized, coloured, aligned string that either stays on one line (truncating with an ellipsis on overflow) or word-wraps to the layout width.

Structs§

  • A run of text rendered with a size, colour, alignment and optional font, either word-wrapped or kept on one line with ellipsis truncation.

Enums§

  • Horizontal alignment of text within its layout rect.