Function macroquad::shapes::draw_line[][src]

pub fn draw_line(
    x1: f32,
    y1: f32,
    x2: f32,
    y2: f32,
    thickness: f32,
    color: Color
)
Expand description

Draws a line between points [x1, y1] and [x2, y2] with a given thickness and color.