polygon#
- classmethod EntityList.polygon(points, sort=False)#
Create an EntityList from a list of points, connecting them with lines.
If sort is true, a centre point roughly in the centre of the supplied points will be established and lines connecting the supplied points will be drawn anticlockwise about that centre.