摘要:        
import { fabric } from 'fabric'; import { Rect } from "./rect"; /** * 动态拖动鼠标绘制图形 * 滚轮 重置绘图次数 */ export class DynamicShape { count = 1; isDrawing = fal    阅读全文
posted @ 2022-04-19 14:44
名字不好起啊
阅读(212)
评论(0)
推荐(0)
        
            
        
        
摘要:        
首先需要有一段 svg 代码:直接百度找了一个 <svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="-10 -18 100 135"><circle cx="50" cy="50" r="40" fill="    阅读全文
posted @ 2022-04-19 14:43
名字不好起啊
阅读(1843)
评论(0)
推荐(0)
        
            
        
        
摘要:        
import { fabric } from 'fabric'; import { KeyCode } from "./key-code"; import { Polyline } from "./polyline"; /** * 动态点击鼠标绘制折线 * 键盘 Q 开始绘制,W 停止绘制,E 清空    阅读全文
posted @ 2022-04-19 13:21
名字不好起啊
阅读(465)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号