@cesdk/engine 1.54.0-nightly.20250613 → 1.54.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.54.0-nightly.20250613-Y546X3EM.wasm → cesdk-v1.54.0-rc.0-SY67FYZZ.wasm} +0 -0
- package/assets/core/{worker-host-v1.54.0-nightly.20250613.js → worker-host-v1.54.0-rc.0.js} +1 -1
- package/index.d.ts +7 -0
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.54.0-nightly.20250613-44YCFRT6.data → cesdk-v1.54.0-rc.0-44YCFRT6.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -2585,6 +2585,13 @@ export declare class BlockAPI {
|
|
|
2585
2585
|
* @returns The bounding box of the line.
|
|
2586
2586
|
*/
|
|
2587
2587
|
getTextVisibleLineGlobalBoundingBoxXYWH(id: DesignBlockId, lineIndex: number): XYWH;
|
|
2588
|
+
/**
|
|
2589
|
+
* Returns the text content of the given visible line of the text block.
|
|
2590
|
+
* @param id - The text block whose line content should be returned.
|
|
2591
|
+
* @param lineIndex - The index of the line whose content should be returned.
|
|
2592
|
+
* @returns The text content of the line.
|
|
2593
|
+
*/
|
|
2594
|
+
getTextVisibleLineContent(id: DesignBlockId, lineIndex: number): string;
|
|
2588
2595
|
/**
|
|
2589
2596
|
* Query if the given block has fill color properties.
|
|
2590
2597
|
* @param id - The block to query.
|