@cesdk/engine 1.38.0-rc.0 → 1.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/core/{cesdk-v1.38.0-rc.0-WPBF7LA2.wasm → cesdk-v1.38.0-7UE54EA5.wasm} +0 -0
- package/assets/core/{worker-host-v1.38.0-rc.0.js → worker-host-v1.38.0.js} +1 -1
- package/index.d.ts +3 -1
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.38.0-rc.0-XHZXX7DG.data → cesdk-v1.38.0-XHZXX7DG.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -2096,9 +2096,11 @@ export declare class BlockAPI {
|
|
|
2096
2096
|
* original contour.
|
|
2097
2097
|
* @param simplifyDistanceThreshold - The maximum number of pixels by which the simplified cutout path can deviate from
|
|
2098
2098
|
* the cutout contour. If 0, no simplification step is performed.
|
|
2099
|
+
* @param useExistingShapeInformation - If true, the existing vector paths of the provided blocks will be used to create the cutout.
|
|
2100
|
+
* If false, new shape information for the cutout will be generated.
|
|
2099
2101
|
* @returns The newly created block or an error.
|
|
2100
2102
|
*/
|
|
2101
|
-
createCutoutFromBlocks(ids: DesignBlockId[], vectorizeDistanceThreshold?: number, simplifyDistanceThreshold?: number): DesignBlockId;
|
|
2103
|
+
createCutoutFromBlocks(ids: DesignBlockId[], vectorizeDistanceThreshold?: number, simplifyDistanceThreshold?: number, useExistingShapeInformation?: boolean): DesignBlockId;
|
|
2102
2104
|
/**
|
|
2103
2105
|
* Create a Cutout block.
|
|
2104
2106
|
* @param path - An SVG string describing a path.
|