From 407d95308363ed5edcccbe2205e935af5beeb2f0 Mon Sep 17 00:00:00 2001 From: c30053238 Date: Wed, 8 Jan 2025 17:46:38 +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..5e2569476 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 the backdrop blur 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:backdrop blur radius, in px. The value range is [0, +∞).\n + * .value[1]?.f32:grayscale blur settings that control the brightness of the black color. + * The value range is [0, 127].\n + * .value[2]?.f32:grayscale blur settings that control the darkness of the white color.\n + * The value range is [0, 127].\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32:backdrop blur radius, in px. The value range is [0, +∞).\n + * .value[1]?.f32:grayscale blur settings that control the brightness of the black color. + * The value range is [0, 127].\n + * .value[2]?.f32:grayscale blur settings that control the darkness of the 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