Expand description
Text font, size, color, and decoration.
§Examples
use ailloli_ui_core::FontId;
use ailloli_ui_core::style::text_style::TextStyle;
assert_eq!(TextStyle::new(FontId::Ui, 14, ailloli_ui_core::Color::WHITE).px_size, 14);Text font, logical size, color, and paint-only decoration.
Structs§
- Text
Style - Font and color for text layout and draw commands.
Enums§
- Text
Decoration - Paint-only line decoration applied after text shaping and layout.