leafer-ui icon indicating copy to clipboard operation
leafer-ui copied to clipboard

给Ellipse加上cornerRadius有BUG

Open Bang1Alex opened this issue 8 months ago • 1 comments

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)

Image

Bang1Alex avatar Apr 28 '25 06:04 Bang1Alex

目前还不支持, 暂时只支持折线路径

leaferjs avatar Apr 29 '25 00:04 leaferjs