From 20fe395e2b158b4ac40259a238621e33b92e9c41 Mon Sep 17 00:00:00 2001 From: conewang Date: Tue, 9 Apr 2024 01:31:18 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0Text=E7=BB=84=E4=BB=B6lineSpa?= =?UTF-8?q?cing=E5=B1=9E=E6=80=A7C=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: conewang Change-Id: I70fe429c3d90ef1380eb548d190dd72c3e0181ac --- 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 400d0e12b..678b45a68 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -1422,6 +1422,17 @@ typedef enum { * */ NODE_FONT_WEIGHT, + /** + * @brief Defines the text line spacing 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: line spacing, in fp.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: line spacing, in fp.\n + * + */ + NODE_TEXT_LINE_SPACING, /** * @brief Defines the text line height attribute, which can be set, reset, and obtained as required through APIs. * -- Gitee