From 227358aaae9a365575e846ec6e2075dc815e6896 Mon Sep 17 00:00:00 2001 From: fangzhiyuan Date: Fri, 12 Sep 2025 12:31:40 +0000 Subject: [PATCH] =?UTF-8?q?CAPI=E6=96=B0=E5=A2=9E=E5=8F=8D=E8=89=B2?= =?UTF-8?q?=E9=80=83=E7=94=9F=E9=80=9A=E9=81=93=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fangzhiyuan --- arkui/ace_engine/native/native_node.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 6f23e494c7e..8404c8c7f23 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2107,6 +2107,17 @@ typedef enum { */ NODE_POSITION_EDGES = 107, + /** + * @brief Set whether the component enables the ability to invert colors. + * This attribute can be set , and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: The parameter type is 1 or 0.\n + * + * @since 21 + */ + NODE_ALLOW_FORCE_DARK = 108, + /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. * -- Gitee