imageproc::drawing

Function draw_hollow_circle

Source
pub fn draw_hollow_circle<I>(
    image: &I,
    center: (i32, i32),
    radius: i32,
    color: I::Pixel,
) -> Image<I::Pixel>
where I: GenericImage,
Expand description

Draws the outline of a circle on a new copy of an image.

Draw as much of the circle as lies inside the image bounds.