Skip to main content

draw_rectangle_lines_rounded_rotated

Function draw_rectangle_lines_rounded_rotated 

Source
pub fn draw_rectangle_lines_rounded_rotated(
    x: f32,
    y: f32,
    w: f32,
    h: f32,
    rotation: f32,
    radius: 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. All corners have the same radius.