From 123d14c8fb7b8452ed4733b31215bbdae99249e1 Mon Sep 17 00:00:00 2001 From: song-song-song Date: Tue, 2 Sep 2025 20:56:26 +0800 Subject: [PATCH] delete alignruleparam Signed-off-by: song-song-song --- api/arkui/component/common.static.d.ets | 52 +++++-------------------- 1 file changed, 9 insertions(+), 43 deletions(-) diff --git a/api/arkui/component/common.static.d.ets b/api/arkui/component/common.static.d.ets index 617e924e4b..f27ba89dee 100644 --- a/api/arkui/component/common.static.d.ets +++ b/api/arkui/component/common.static.d.ets @@ -1860,36 +1860,29 @@ export declare interface ScaleOptions { /** * Defines the align rule options of relative container. * - * @interface AlignRuleParam + * @interface VerticalAlignParam * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @form - * @atomicservice * @since 20 */ -export declare interface AlignRuleParam { +export declare interface VerticalAlignParam { /** - * The param of anchor. + * Specifies the anchor component * - * @type { ?string } + * Anonymous Object Rectification + * @type { string } anchor * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @form - * @atomicservice * @since 20 */ anchor: string; /** - * The param of align. + * Sets the vertical alignment relative to the anchor component. * - * @type { T } + * Anonymous Object Rectification + * @type { VerticalAlign } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @form - * @atomicservice * @since 20 */ - align: T; + align: VerticalAlign; } /** * Defines the horizontal align rule options of relative container. @@ -1919,33 +1912,6 @@ export declare interface HorizontalAlignParam { */ align: HorizontalAlign; } -/** - * Defines the align rule options of relative container. - * - * @interface VerticalAlignParam - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 - */ -export declare interface VerticalAlignParam { - /** - * Specifies the anchor component - * - * Anonymous Object Rectification - * @type { string } anchor - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 - */ - anchor: string; - /** - * Sets the vertical alignment relative to the anchor component. - * - * Anonymous Object Rectification - * @type { VerticalAlign } - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 - */ - align: VerticalAlign; -} /** * Defines the align rule options of relative container. * -- Gitee