Skip to main content

draw_circle

Function draw_circle 

Source
pub fn draw_circle(x: f32, y: f32, r: f32, color: Color)
Expand description

Draws a filled circle centered at (x, y) with radius r.

ยงExamples

draw_circle(300.0, 300.0, 40.0, BLUE);