leafer-ui
leafer-ui copied to clipboard
Line线条设置stroke渐变无效?
代码如下:
const line = new Line({ ...option, toPoint: { x: data.width, y: data.height }, draggable: true, stroke: { type: 'linear', stops: ['#FF4B4B', '#FEB027'], }, // stroke: 'red' })
收到,谢谢反馈~