Module prelude

Module prelude 

Source
Expand description

The text prelude.

This includes the most common types in this crate, re-exported for your convenience.

Structs§

Font
An Asset that contains the data for a loaded font, if loaded as an asset.
TextColor
The color of the text for this section.
TextFont
TextFont determines the style of a text span within a ComputedTextBlock, specifically the font face, the font size, the line height, and the antialiasing method.
TextLayout
Component with text format settings for a block of text.
TextSpan
A span of text in a tree of spans.

Enums§

Justify
Describes the horizontal alignment of multiple lines of text relative to each other.
LineBreak
Determines how lines will be broken when preventing text from running out of bounds.
TextError
Errors related to the textsystem