Module text_style

Source
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§

TextStyle
Font and color for text layout and draw commands.

Enums§

TextDecoration
Paint-only line decoration applied after text shaping and layout.