Expand description
The text prelude.
This includes the most common types in this crate, re-exported for your convenience.
Structs§
- Font
- An
Assetthat contains the data for a loaded font, if loaded as an asset. - Font
Weight - How thick or bold the strokes of a font appear.
- Strikethrough
- A text entity with this component is drawn with strikethrough.
- Strikethrough
Color - Color for the text’s strikethrough. If this component is not present, its
TextColorwill be used. - Text
Color - The color of the text for this section.
- Text
Font TextFontdetermines the style of a text span within aComputedTextBlock, specifically the font face, the font size, the line height, and the antialiasing method.- Text
Layout - Component with text format settings for a block of text.
- Text
Span - A span of text in a tree of spans.
- Underline
- Add to a text entity to draw its text with underline.
- Underline
Color - Color for the text’s underline. If this component is not present, its
TextColorwill be used.