@cesdk/node 1.68.0-rc.0 → 1.68.0-rc.2
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.
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -4490,6 +4490,16 @@ export declare class BlockAPI {
|
|
|
4490
4490
|
* @returns The text content of the line.
|
|
4491
4491
|
*/
|
|
4492
4492
|
getTextVisibleLineContent(id: DesignBlockId, lineIndex: number): string;
|
|
4493
|
+
/**
|
|
4494
|
+
* Gets the effective horizontal alignment of a text block.
|
|
4495
|
+
* If the alignment is set to Auto, this returns the resolved alignment (Left or Right)
|
|
4496
|
+
* based on the text direction of the first logical run. This never returns 'Auto'.
|
|
4497
|
+
*
|
|
4498
|
+
* @category Block Text
|
|
4499
|
+
* @param id - The text block whose effective alignment should be returned.
|
|
4500
|
+
* @returns The effective alignment ('Left', 'Right', or 'Center').
|
|
4501
|
+
*/
|
|
4502
|
+
getTextEffectiveHorizontalAlignment(id: DesignBlockId): 'Left' | 'Right' | 'Center';
|
|
4493
4503
|
/**
|
|
4494
4504
|
* Checks if a block has fill properties.
|
|
4495
4505
|
*
|
|
@@ -5628,7 +5638,7 @@ export declare const CameraClampingOvershootModeValues: readonly ["Center", "Rev
|
|
|
5628
5638
|
export declare type CaptionHorizontalAlignment = (typeof CaptionHorizontalAlignmentValues)[number];
|
|
5629
5639
|
|
|
5630
5640
|
/** @public */
|
|
5631
|
-
export declare const CaptionHorizontalAlignmentValues: readonly ["Left", "Right", "Center"];
|
|
5641
|
+
export declare const CaptionHorizontalAlignmentValues: readonly ["Left", "Right", "Center", "Auto"];
|
|
5632
5642
|
|
|
5633
5643
|
/** @public */
|
|
5634
5644
|
export declare type CaptionVerticalAlignment = (typeof CaptionVerticalAlignmentValues)[number];
|
|
@@ -8736,7 +8746,7 @@ export { TextHorizontalAlignment as HorizontalTextAlignment }
|
|
|
8736
8746
|
export { TextHorizontalAlignment }
|
|
8737
8747
|
|
|
8738
8748
|
/** @public */
|
|
8739
|
-
export declare const TextHorizontalAlignmentValues: readonly ["Left", "Right", "Center"];
|
|
8749
|
+
export declare const TextHorizontalAlignmentValues: readonly ["Left", "Right", "Center", "Auto"];
|
|
8740
8750
|
|
|
8741
8751
|
/** @public */
|
|
8742
8752
|
declare type TextVerticalAlignment = (typeof TextVerticalAlignmentValues)[number];
|