polygon

Function polygon 

Source
pub fn polygon<T>(
    points: &[Point<T>],
    bounds: &Bounds<Pixels>,
) -> Option<Path<Pixels>>
where T: Default + Clone + Copy + Debug + Into<f32> + PartialEq,