Skip to main content

canvas_rounded_rect

Function canvas_rounded_rect 

Source
pub fn canvas_rounded_rect(
    x: f32,
    y: f32,
    w: f32,
    h: f32,
    radius: f32,
    r: u8,
    g: u8,
    b: u8,
    a: u8,
)
Expand description

Draw a filled rounded rectangle with uniform corner radius.