Skip to main content

draw_rectangle_lines_rounded_rotated_ex

Function draw_rectangle_lines_rounded_rotated_ex 

Source
pub fn draw_rectangle_lines_rounded_rotated_ex(
    x: f32,
    y: f32,
    w: f32,
    h: f32,
    rotation: 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 centered at (x, y), rotated by rotation radians around that center. Can set each corner’s radius separately.