Function rin_graphics::line_color[][src]

pub fn line_color<C: ToRgba>(
    from: &Pnt2,
    to: &Pnt2,
    color: &C
) -> Mesh<Vertex2DColor>

Returns a line segment as a mesh with position and color