[][src]Function gdl::elements::draw_solid_rect

pub fn draw_solid_rect(
    img: &mut DynamicImage,
    background_color: &Rgb,
    width: u32,
    height: u32,
    x_pos: i32,
    y_pos: i32
)

Draw a solid rectangle with a given background colour.

Arguments