标签: fabricjs
我想用闪光线绘制一个fabric.js多边形。提供闪光线的属性是什么?
var points = [x0, y0, x1, y1 , x2 ,y2]; let polygon = new fabric.Polygon(points, { fill: 'rgba(0,0,0,0)', stroke: 'red', selectable: false, objectCaching: false, });