From 7d807628ca95f7d927b0ff38c08d03910e1e81da Mon Sep 17 00:00:00 2001 From: c30053238 Date: Tue, 7 Jan 2025 15:21:05 +0800 Subject: [PATCH] backdropblur Signed-off-by: c30053238 --- arkui/ace_engine/native/native_node.h | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f0783cab5..bdf54557e 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -1847,7 +1847,28 @@ typedef enum { * @since 14 */ NODE_TAB_STOP = 98, - + + /** + * @brief Defines blur attribute of backdrop, 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:Represents the blur radius of backdrop. The unit is px. The value range is [0,+∞).\n + * .value[1]?.f32:Represents a gray scale blur parameter, which affects the degree of brightening black color.\n + * The value range is [0,127].\n + * .value[2]?.f32:Represents a gray scale blur parameter, which affects the degree of darkening white color.\n + * The value range is [0,127].\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32:Represents the blur radius of backdrop. The unit is px. The value range is [0,+∞).\n + * .value[1].f32:Represents a gray scale blur parameter, which affects the degree of brightening black color.\n + * The value range is [0,127].\n + * .value[2].f32:Represents a gray scale blur parameter, which affects the degree of darkening white color.\n + * The value range is [0,127].\n + * + * @since 16 + */ + NODE_BACKDROP_BLUR = 99, + /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. * -- Gitee