Function rin_core::graphics::line_color[][src]

pub fn line_color<C>(
    from: &Point<f32, U2>,
    to: &Point<f32, U2>,
    color: &C
) -> Mesh<Vertex2DColor> where
    C: ToRgba

Returns a line segment as a mesh with position and color