Function ggez::graphics::line [−][src]
pub fn line(ctx: &mut Context, points: &[Point2], width: f32) -> GameResult<()>
Draws a line of one or more connected segments.
Allocates a new Mesh
, draws it, and throws it away, so if you are drawing many of them
you should create the Mesh
yourself.