Gizmo画Polygon报错

代码如下:
let polygon = this._tool.polygon()
// 设置 fill 样式
.fill({ color: ‘rgba(0,128,255,0.8)’ })
// 设置点击区域,这里设置的是根据 fill 模式点击
.style(‘pointer-events’, ‘fill’)
// 设置鼠标样式
.style(‘cursor’, ‘move’);

  Editor.log('onCreateRoot points:' + JSON.stringify(points) + ";pts:" + JSON.stringify(pts));

  polygon.plot(pts);

报错信息如下:

关掉吧,问题解决了,参数的问题