Skip to main content

draw_rectangle

Function draw_rectangle 

Source
pub fn draw_rectangle(
    canvas: &mut Canvas,
    x: f32,
    y: f32,
    w: f32,
    h: f32,
    style: &RectStyle,
    z: i32,
)
Expand description

Draw a rectangle with optional fill and per-side border widths.