polygon method
Draws a polygon with the specified vertices.
points
is an array of PointD
Implementation
Drawable polygon(List<PointD> points) {
final OpSet path = OpSetBuilder.linearPath(points, true, drawConfig!);
return _buildDrawable(path, points);
}