Expand description
A component for rendering single-style text.
§Usage
Use to display labels, headings, or other static or dynamic text content.
Structs§
- Text
Args - Configuration arguments for the
textcomponent. - Text
Args Builder - Builder for
TextArgs.
Enums§
- Text
Args Builder Error - Error type for TextArgsBuilder
Functions§
- read_
font_ system - It costs a lot to create a glyphon font system, so we use a static one to share it every where and avoid creating it multiple times. This function returns a read lock of the font system.
- text
- text
- write_
font_ system - It costs a lot to create a glyphon font system, so we use a static one to share it every where and avoid creating it multiple times. This function returns a write lock of the font system.