Skip to main content

draw_rectangle_lines_rotated

Function draw_rectangle_lines_rotated 

Source
pub fn draw_rectangle_lines_rotated(
    x: f32,
    y: f32,
    w: f32,
    h: f32,
    rotation: f32,
    thickness: f32,
    color: Color,
)
Expand description

Draws the outline of a rectangle with its top-left corner at (x, y) (before rotation), rotated by rotation radians around its center.