Skip to main content

target

Function target 

Source
pub fn target(
    x: f32,
    y: f32,
    w: f32,
    h: f32,
    lock: f32,
    primary: Rgba,
    accent: Rgba,
) -> Draw
Expand description

Animated target brackets that close in as lock → 1 (0 = wide, 1 = snug).