From 523cbaef5c728775bfbe7371c6b318cafbf9e9da Mon Sep 17 00:00:00 2001 From: yeyinglong_admin Date: Tue, 14 May 2024 17:12:39 +0800 Subject: [PATCH] =?UTF-8?q?Layout=20Rect=E6=8E=A5=E5=8F=A3=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yeyinglong_admin --- arkui/ace_engine/native/native_node.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index e8b1f0f25..8b2ea3ed7 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -1586,19 +1586,20 @@ typedef enum { NODE_FOREGROUND_BLUR_STYLE, /** - * @brief Defines layout rect attribute, which can be set, reset, and obtained as required through APIs. + * @brief Defines the component size and position for layout. + * 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: x position of the component. - * .value[1].i32: y position of the component. - * .value[2].i32: width of the component. - * .value[3].i32: height of the component. + * .value[0].i32: X coordinate of the component, in px. \n + * .value[1].i32: Y coordinate of the component, in px. \n + * .value[2].i32: width of the component, in px. \n + * .value[3].i32: height of the component, in px. \n * \n * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: x position of the component. - * .value[1].i32: y position of the component. - * .value[2].i32: width of the component. - * .value[3].i32: height of the component. + * .value[0].i32: X coordinate of the component, in px. \n + * .value[1].i32: Y coordinate of the component, in px. \n + * .value[2].i32: width of the component, in px. \n + * .value[3].i32: height of the component, in px. \n * */ NODE_LAYOUT_RECT, -- Gitee