From 8c8677bce8fb6d9254546db04713bce3eb3c24e0 Mon Sep 17 00:00:00 2001 From: hehongyang9 Date: Tue, 3 Dec 2024 17:45:23 +0800 Subject: [PATCH] add backDropBlur attribute Signed-off-by: hehongyang9 Change-Id: I9c534bed46a8ee8f6bef30c9de3dbe56cf2b5edb --- 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 f20102e7c..b44c42644 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -1839,7 +1839,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