pub fn draw_rectangle_lines_rounded_ex(
x: f32,
y: f32,
w: f32,
h: f32,
top_left: f32,
top_right: f32,
bottom_left: f32,
bottom_right: f32,
thickness: f32,
color: Color,
)Expand description
Draws the outline of a rounded rectangle with its top-left corner at (x, y),
with the ability to set each corner’s radius separately.
Radii are clamped to half the shorter side.
§Examples
draw_rectangle_lines_rounded_ex(
100.0, 100.0, 50.0, 80.0,
20.0, 0.0, // top_left, top_right
0.0, 20.0, // bottom_left, bottom_right
3.0, WHITE, // thickness, color
);