Leafer
Leafer
需要自己用leaferjs.Canvas绘制动画才行,或者在画布上覆盖一个html的gif元素(随页面缩放移动)
收到,谢谢反馈,自定义宽高的文本实际是没有设置值的,所以同步不过去(一旦设置值就会改变性质了),可以获取文本的boxBounds中的宽高,我先记录一下,后面再看看有没有其他办法
收到,谢谢反馈~,Path暂时还不支持cornerRadius,后续会支持
收到,感谢推荐~
支持手动选中文本并进入编辑状态: app.editor.openInnerEditor( text ) https://www.leaferjs.com/ui/plugin/in/editor/Editor.html#openinnereditor-target-ui
估计是相对目录没弄对,地址正确了应该是支持的。
编辑文本的时候,是把原始文本隐藏了,再显示一个dom代替的,所以会有这种情况。 你可以监听InnerEditorEvent.CLOSE事件,那个时候应该已经显示回来了
line.getLayoutPoints('stroke', 'world') https://www.leaferjs.com/ui/reference/property/bounds.html#getlayoutpoints-type-iboundstype-box-relative-ilocationtype-ui-world-ipointdata
我后面有时间会加一下示例