pub fn add_rect2f(start_x: f32, start_y: f32, size_x: f32, size_y: f32)
Expand description

Adds a rectangle to the current frame.

Arguments

  • start_x - A f32 representing the x-coordinate of the starting point of the rectangle.
  • start_y - A f32 representing the y-coordinate of the starting point of the rectangle.
  • size_x - A f32 representing the width of the rectangle.
  • size_y - A f32 representing the height of the rectangle.