@cesdk/engine 1.46.1 → 1.47.0-rc.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.46.1-XHZXX7DG.data → cesdk-v1.47.0-rc.0-44YCFRT6.data} +0 -0
- package/assets/core/{cesdk-v1.46.1-E6QYZTJG.wasm → cesdk-v1.47.0-rc.0-LS4IZYPL.wasm} +0 -0
- package/assets/core/worker-host-v1.47.0-rc.0.js +14 -0
- package/index.d.ts +14 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/assets/core/worker-host-v1.46.1.js +0 -14
package/index.d.ts
CHANGED
|
@@ -1280,6 +1280,8 @@ export declare class BlockAPI {
|
|
|
1280
1280
|
isDistributable(ids: DesignBlockId[]): boolean;
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Resize and position a block to entirely fill its parent block.
|
|
1283
|
+
* The crop values of the block, except for the flip and crop rotation, are reset if it can be cropped.
|
|
1284
|
+
* If the size of the block's fill is unknown, the content fill mode is changed from `Crop` to `Cover` to prevent invalid crop values.
|
|
1283
1285
|
* Required scope: 'layer/move'
|
|
1284
1286
|
* - 'layer/resize'
|
|
1285
1287
|
* @param id - The block that should fill its parent.
|
|
@@ -3117,6 +3119,18 @@ export declare interface Buffer {
|
|
|
3117
3119
|
*/
|
|
3118
3120
|
export declare type Canvas = HTMLCanvasElement | OffscreenCanvas_2;
|
|
3119
3121
|
|
|
3122
|
+
/**
|
|
3123
|
+
* Throws an error if the current browser does not support video exporting.
|
|
3124
|
+
* @public
|
|
3125
|
+
*/
|
|
3126
|
+
export declare function checkVideoExportSupport(): Promise<void>;
|
|
3127
|
+
|
|
3128
|
+
/**
|
|
3129
|
+
* Throws an error if the current browser does not support video editing.
|
|
3130
|
+
* @public
|
|
3131
|
+
*/
|
|
3132
|
+
export declare function checkVideoSupport(): void;
|
|
3133
|
+
|
|
3120
3134
|
/**
|
|
3121
3135
|
* @public
|
|
3122
3136
|
*/
|