Function elmesque::form::polygon
[−]
[src]
pub fn polygon(points: Vec<(f64, f64)>) -> Shape
Create an arbitrary polygon by specifying its corners in order. polygon
will automatically
close all shapes, so the given list of points does not need to start and end with the same
position.