From 4704864fa4f7cb03ccc4fdc3485a16d4c45372f5 Mon Sep 17 00:00:00 2001 From: conewang Date: Thu, 18 Apr 2024 03:13:33 +0000 Subject: [PATCH] linespacing Signed-off-by: conewang Change-Id: I1a846f172e00ddbe79698f9860d1bb124eafe7e1 --- 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 3c5f5982953..127c689ee0b 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -1426,6 +1426,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