Function draw_rect

Source
pub fn draw_rect(
    x1: PixelAddress,
    y1: PixelAddress,
    x2: PixelAddress,
    y2: PixelAddress,
    img: &mut Frame,
    three_color: bool,
    color: Option<[u8; 3]>,
)
Expand description

Draw a rectangle on the given img with the given color