imageproc::drawing

Function draw_filled_circle

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

Draws a circle and its contents on a new copy of the image.

Draws as much of a circle and its contents as lies inside the image bounds.