imageproc::drawing

Function draw_hollow_rect_mut

Source
pub fn draw_hollow_rect_mut<C>(canvas: &mut C, rect: Rect, color: C::Pixel)
where C: Canvas,
Expand description

Draws the outline of a rectangle on an image in place.

Draws as much of the boundary of the rectangle as lies inside the image bounds.