From 6ab7afe60932d370a1b5987380c49ac29b52c7d2 Mon Sep 17 00:00:00 2001 From: wangxiuxiu96 Date: Thu, 3 Apr 2025 10:26:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=96=87=E6=9C=AC=E8=A1=8C?= =?UTF-8?q?=E6=95=B0=E7=9A=84CAPI=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangxiuxiu96 Change-Id: Ic5357953d94158cdee767b9a225f04201d6a47a4 --- arkui/ace_engine/native/native_node.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 68e034586..0e067a67b 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2316,6 +2316,16 @@ typedef enum { */ NODE_IMMUTABLE_FONT_WEIGHT = 1030, + /** + * @brief Defines the text line count attribute, which can only be obtained as required through APIs. + * + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: line count of the node. + * + * @since 20 + */ + NODE_TEXT_LINE_COUNT = 1031, + /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. * -- Gitee