leafer-ui
leafer-ui copied to clipboard
给Ellipse加上cornerRadius有BUG
const circle1 = new Ellipse({ x: 300, y: 100, width: 100, height: 100, fill: { type: 'linear', // 从顶部居中 -> 底部居中垂直绘制的渐变 stops: ['#FF4B4B', '#FEB027'] }, innerRadius: 0.5, draggable: true, stroke: '#32cd79', strokeWidth: 2, cornerRadius: 30 }) leafer.add(circle1)
目前还不支持, 暂时只支持折线路径