void renderPolygon(Canvas canvas, List<Offset> points) { final path = _path ..reset() ..addPolygon(points, true); // TODO(Spydon): Use drawVertices instead. canvas.drawPath(path, paint); }