From 9970f197b3293b36e1c546bcdb473ac6ebbd1c36 Mon Sep 17 00:00:00 2001 From: wujinhui Date: Fri, 8 Aug 2025 17:39:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B9=E6=B3=95=E6=A0=BC=E5=BC=8F=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wujinhui --- arkui/ace_engine/native/native_node.h | 11 ++++++----- arkui/ace_engine/native/native_render.h | 10 +++++----- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 53cfc3bf4..624843e75 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -3722,7 +3722,8 @@ typedef enum { NODE_TEXT_AREA_MIN_LINES = 8029, /** - * @brief Set the max lines of the node with scroll. This attribute can be set, reset, and obtained as required through APIs. + * @brief Set the max lines of the node with scroll. + * This attribute can be set, reset, and obtained as required through APIs. * * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n * .value[0].i32: max lines count with scroll. @@ -3730,8 +3731,7 @@ typedef enum { * Format of the return value {@link ArkUI_AttributeItem}: \n * .value[0].i32: max line count with scroll.\n * - * @since 20 - * + * @since 20 */ NODE_TEXT_AREA_MAX_LINES_WITH_SCROLL = 8030, @@ -4949,11 +4949,11 @@ typedef enum { * * Attribute setting method {@Link ArkUI_AttributeItem} Parameter format:\n * .size: number of the images.\n - * .object: array of the images, the type is {@Link ArkUI_ImageAnimatorFrameInfo} array.\n + * .object: array of the images, the type is {@ArkUI_ImageAnimatorFrameInfo} array.\n * \n * Attribute obtaining method return value {@Link ArkUI_AttributeItem} format:\n * .size: number of the images.\n - * .object: array of the images, the type is {@Link ArkUI_ImageAnimatorFrameInfo} array.\n + * .object: array of the images, the type is {@ArkUI_ImageAnimatorFrameInfo} array.\n * */ NODE_IMAGE_ANIMATOR_IMAGES = ARKUI_NODE_IMAGE_ANIMATOR * MAX_NODE_SCOPE_NUM, @@ -8419,6 +8419,7 @@ int32_t OH_ArkUI_NodeEvent_GetStringValue(ArkUI_NodeEvent* event, int32_t index, * @param size Indicates the array length. * @return Returns the error code. * Returns {@link ARKUI_ERROR_CODE_NO_ERROR} if the operation is successful. + * Returns {@link ARKUI_ERROR_CODE_NODE_EVENT_NO_RETURN} if the component event does not support return values. * Returns {@link ARKUI_ERROR_CODE_NODE_EVENT_PARAM_INVALID} if data does not exist in the component event. * @since 12 */ diff --git a/arkui/ace_engine/native/native_render.h b/arkui/ace_engine/native/native_render.h index 9e6991b4e..d6ea4b1c3 100644 --- a/arkui/ace_engine/native/native_render.h +++ b/arkui/ace_engine/native/native_render.h @@ -272,8 +272,8 @@ int32_t OH_ArkUI_RenderNodeUtils_AddChild(ArkUI_RenderNodeHandle node, ArkUI_Ren * * @param node the parent RenderNode. * @param child the child RenderNode to insert. - * @param sibling the reference sibling node. - * If the sibling node does not exist in the children, the child component will be added to the end. + * @param sibling the reference sibling node. If the sibling node does not exist in the children, + * the child component will be added to the end. * @return Error code. * {@link ARKUI_ERROR_CODE_NO_ERROR} Success. * {@link ARKUI_ERROR_CODE_PARAM_INVALID} Function parameter exception. @@ -1144,7 +1144,7 @@ int32_t OH_ArkUI_RenderNodeUtils_AttachColorProperty( * @brief Attach a float animatable property to the target content modifier. * * @param modifier {@link ArkUI_RenderContentModifierHandle} Set float animatable property to the target content - * modifier. + * modifier. * @param property {@link ArkUI_FloatAnimatablePropertyHandle} Handle to the float animatable property. * @return Error code. * {@link ARKUI_ERROR_CODE_NO_ERROR} Success. @@ -1159,7 +1159,7 @@ int32_t OH_ArkUI_RenderNodeUtils_AttachFloatAnimatableProperty( * @brief Attach a vector2 animatable property to the target content modifier. * * @param modifier {@link ArkUI_RenderContentModifierHandle} Set vector2 animatable property to the target content - * modifier. + * modifier. * @param property {@link ArkUI_Vector2AnimatablePropertyHandle} Handle to the vector2 animatable property. * @return Error code. * {@link ARKUI_ERROR_CODE_NO_ERROR} Success. @@ -1174,7 +1174,7 @@ int32_t OH_ArkUI_RenderNodeUtils_AttachVector2AnimatableProperty( * @brief Attach a color property to the target content modifier. * * @param modifier {@link ArkUI_RenderContentModifierHandle} Set color animatable property to the target content - * modifier. + * modifier. * @param property {@link ArkUI_ColorAnimatablePropertyHandle} Handle to the color animatable property. * @return Error code. * {@link ARKUI_ERROR_CODE_NO_ERROR} Success. -- Gitee