pictode
pictode copied to clipboard
🎨 Pictode最方便集成的绘图工具
### Bug Report / 缺陷报告 **截图 / Screenshots** https://github.com/user-attachments/assets/87bdf9db-2cf9-4718-b171-55b26090df11 **附加上下文 / Additional context** 在createTextarea中,html标签的样式并没有从传入的config里面拿,这在我们对于交互要求很严格的情况下,是不能接受的。由于konva接受的fontStyle相当于html标签的fontweight,目前我是通过pnpm给这个tool库打patch解决的。但是这种方案以后还会遇到其他样式可能不统一的问题。 我想请教1.为什么输入时要用textarea来代替。2.在用textarea情况下,应有一套konva style -> html style的映射表,统一两种情况下样式。 
[BUG]The draw tool cannot display the content when it is drawn quickly, but the history is updated
### Bug Report / The draw tool cannot display the content when it is drawn quickly, but the history is updated **Describe the bug** The draw tool cannot display the...
似乎收到手机端不能使用
请问能添加动画吗
想做一些动态的效果
### Bug Report / 缺陷报告 **问题描述 / Describe the bug** 在vue2框架中 @pictode/core 引用报错 **复现步骤 / To Reproduce** 1、安装@pictode/core 2、进行引用import { App } from "@pictode/core"; 3. 出现错误 --> **期望行为 / Expected...
### Feature Request / 功能请求 **特性描述 / Feature Description** 实现图形与图形之间绑定连线的功能,任意图形拖动时连线绑定关系不变 **解决方案描述 / Solution Description** 创建一个Line的自定义图形,该图形包含from和to两个属性,分别监听from和to的图形的拖拽事件,来更新line图形的形状. 从而实现视觉上图形连接的效果 **技术实现建议 / Technical Implementation Suggestions** https://konvajs.org/docs/sandbox/Connected_Objects.html **截图/图片 / Screenshots/Images**  **参考 / References** ###...
### Feature Request / 功能请求 **特性描述 / Feature Description** 2D可视化组态软件,集动态数据显示和事件交互于一体的可视化工具 **解决方案描述 / Solution Description** **技术实现建议 / Technical Implementation Suggestions** **截图/图片 / Screenshots/Images**  **参考 / References** https://2d.le5le.com/ ### 备注 /...
### Feature Request / 功能请求 **问题描述 / Problem Description** 鼠标移动的方式裁剪画布大小,类似于微信的PC端的截图功能 **解决方案描述 / Solution Description** 基于Konva的矩形图形,根据鼠标的移动改变裁剪的区域大小。点击确定后,将矩形的尺寸应用到画布即可。裁剪工具自带,确认和取消按钮,或提供确认和取消的方法
### Feature Request / 功能请求 **问题描述 / Problem Description** 虽然Konva.js天然支持多图层管理,但是目前Pictode并没有封装改功能。在实现图片编辑类工具时,多图层管理必不可少。 例如:实现编辑图片工具,需要将图片置于一个底部图层,然后可以再新建一个图层来绘制画笔等形状(类似PS的图层)。 **解决方案描述 / Solution Description** 封装Konva.js的Layer,在app中支持Layer的管理,主要功能有:Layer的增、删、移动和可见性切换 **备选方案 / Alternative Solutions** **附加上下文 / Additional Context** **演示环境要求 / Demo Environment Requirement** **技术实现建议...
After `transformer` fires event of `dragend`, it would spread event like `mousedown` to each nodes, which then collected by `Stage`, this would make tool of `arrow` execute it handler multiple...