Function ring_meter

Source
pub fn ring_meter(
    center: Vec2,
    radius: f32,
    width: f32,
    fraction: f32,
    color: Color,
    theme: &KitTheme,
)
Expand description

Circular progress: a faint track and a bright arc clockwise from 12 o’clock covering fraction (timers, cooldowns, charge).

use ferravex_render::{Color, vec2, ui::kit::{self, KitTheme}};
kit::ring_meter(vec2(40., 40.), 14., 4., 0.65, Color::from_hex(0x5bd5d8), &KitTheme::default());