feat: 优化跨层级移动和套索抠图命令,支持异步执行,改进画布刷新逻辑,新增背景裁剪选项
This commit is contained in:
@@ -783,6 +783,7 @@ defineExpose({
|
||||
exportImage: ({
|
||||
isContainBg = false, // 是否包含背景图层
|
||||
isContainFixed = false, // 是否包含固定图层
|
||||
isCropByBg = false, // 是否使用背景大小裁剪 // 如果为true,则导出时裁剪到背景图层大小
|
||||
layerId = "", // 导出具体图层ID
|
||||
layerIdArray = [], // 导出多个图层ID数组
|
||||
expPicType = "png", // 导出图片类型 JPG 或 PNG ,SVG
|
||||
@@ -790,6 +791,7 @@ defineExpose({
|
||||
return canvasManager.exportImage({
|
||||
isContainBg,
|
||||
isContainFixed,
|
||||
isCropByBg,
|
||||
layerId,
|
||||
layerIdArray,
|
||||
expPicType,
|
||||
|
||||
Reference in New Issue
Block a user