Function ratatui_canvas_rectangle

Source
#[no_mangle]
pub extern "C" fn ratatui_canvas_rectangle(
    handle: *mut c_void,
    x: f64,
    y: f64,
    w: f64,
    h: f64,
    r: u8,
    g: u8,
    b: u8,
)
Expand description

Draws a colored rectangle outline anchored at (x, y) with size (w, h).

Coordinates are in data space (see ratatui_canvas_begin).