leaferjs / leafer-ui

一款好用的 Canvas 引擎,革新的开发体验,用于高效绘图 、UI 交互、图形编辑。A user-friendly Canvas engine with a revolutionary development experience, for efficient drawing, UI interactions, and graphic editing.
https://www.leaferjs.com
MIT License
2.59k stars 92 forks source link

如何画贝塞尔曲线? #8

Closed djkloop closed 1 year ago

djkloop commented 1 year ago

类似如下这种效果?

http://konvajs-doc.bluehymn.com/docs/sandbox/Modify_Curves_with_Anchor_Points.html
leaferjs commented 1 year ago

高性能的方式: https://leaferjs.com/ui/guide/path/PathCreator.html 看这里面的示例bezierCurveTo()

快捷的方式: https://leaferjs.com/ui/guide/display/Pen.html

djkloop commented 1 year ago

@leaferjs 好的谢谢。