"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[8107],{95257:function(e,n,a){a.r(n),a.d(n,{canvasConfig:function(){return i}});var t=a(61399);const i={width:1024,height:1024,backgroundColor:"#ffffff",objectCaching:!0,enableRetinaScaling:!0,brushWidth:5,brushOpacity:1,brushColor:"#000000",brushType:"pencil",brushTypeList:[{name:"pencil",text:"铅笔"},{name:"brush",text:"画笔"},{name:"spray",text:"喷枪"},{name:"rectangle",text:"矩形"},{name:"circle",text:"圆形"}],layerWidth:250,maxHistorySteps:50,onlyActiveLayerEditable:!1,defaultTool:t.OperationType.DRAW||t.OperationType.SELECT,isCropBackground:!0};n["default"]=i},96367:function(e,n,a){a.r(n),a.d(n,{createCanvas:function(){return i},createStaticCanvas:function(){return r}});var t=a(95257);const i=(e,n={})=>{const a=new fabric.Canvas(e,{enableRetinaScaling:t.canvasConfig.enableRetinaScaling,renderOnAddRemove:!1,enableRetinaScaling:!0,preserveObjectStacking:!0,...n});return a},r=(e,n={})=>{const a=new fabric.StaticCanvas(e,{enableRetinaScaling:t.canvasConfig.enableRetinaScaling,...n});return a}}}]);