pub fn draw_rectangle_rounded_from_rect(rect: Rect, radius: f32, color: Color)Expand description
Draws a rounded, filled rectangle using a Rect where all corners have the same radius.
Use draw_rectangle_rounded_from_rect_ex() to set all radii separately.
ยงExamples
draw_rectangle_rounded_from_rect(rect, 20.0, RED); // 20.0 is the radius