diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 9cc986bc4ed941203ef3506e5356bdcf589aec7b..828f8b73c69793f5056cf66866ac5ac577f2fa61 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. *