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