pub fn add_line2f(start_x: f32, start_y: f32, end_x: f32, end_y: f32)
Expand description

Adds a line to the current frame.

Arguments

  • start_x - A f32 representing the x-coordinate of the starting point of the line.
  • start_y - A f32 representing the y-coordinate of the starting point of the line.
  • end_x - A f32 representing the x-coordinate of the ending point of the line.
  • end_y - A f32 representing the y-coordinate of the ending point of the line.