From ee3512961eb708c965ae1a4e41fe699315897941 Mon Sep 17 00:00:00 2001 From: zhang-quanchao Date: Tue, 2 Sep 2025 16:08:45 +0800 Subject: [PATCH] svg feature Signed-off-by: zhang-quanchao --- arkui/ace_engine/native/native_node.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 5cd2e0fc1e8..39f3bba8e16 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2940,6 +2940,19 @@ typedef enum { * @since 21 */ NODE_IMAGE_ORIENTATION = 4020, + /** + * @brief Set the range of SVG parsing capabilities supported through enable switch. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: enable switch.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: enable switch.\n + * + * @since 21 + */ + NODE_IMAGE_SUPPORT_SVG2 = 4021, /** * @brief Defines the color of the component when it is selected. * This attribute can be set, reset, and obtained as required through APIs. -- Gitee