void renderChain(Canvas canvas, List<Offset> points) { canvas.drawPoints(PointMode.polygon, points, paint); }