Function rin_core::graphics::rectangle_color[][src]

pub fn rectangle_color<C>(
    pos: &Point<f32, U2>,
    w: f32,
    h: f32,
    color: &C
) -> Mesh<Vertex2DColor> where
    C: ToRgba

Returns a rectangle as a filled mesh with position and color per vertex