Skip to main content

paint_icon

Function paint_icon 

Source
pub fn paint_icon(
    ui: &mut dyn UiBuilder,
    pos: [f32; 2],
    icon: Icon,
    size: f32,
    color: [f32; 4],
)
Expand description

Paints a single Lucide icon glyph at the given position. The icon is rendered with the bundled "icons" font family — falls back to a single dot if that family isn’t installed.