From 6100fcf760c80906cf2e329671f6829e290746e5 Mon Sep 17 00:00:00 2001 From: yeyinglong Date: Mon, 6 May 2024 01:27:47 +0000 Subject: [PATCH] =?UTF-8?q?C-API=E6=94=AF=E6=8C=81=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E5=A4=A7=E5=B0=8F=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yeyinglong --- arkui/ace_engine/native/native_node.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 9cc986bc4..828f8b73c 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -1584,6 +1584,23 @@ typedef enum { * */ NODE_FOREGROUND_BLUR_STYLE, + /** + * @brief Defines layout rect attribute, which can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].f32: x position of the component, in px. + * .value[1].f32: y position of the component, in px. + * .value[2].f32: width of the component, in px. + * .value[3].f32: height of the component, in px. + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: x position of the component, in px. + * .value[1].f32: y position of the component, in px. + * .value[2].f32: width of the component, in px. + * .value[3].f32: height of the component, in px. + * + */ + NODE_LAYOUT_RECT, /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. * -- Gitee