From 50693f64315f3f9cb741170a60dff64480fd787c Mon Sep 17 00:00:00 2001 From: aryawang Date: Wed, 8 May 2024 02:47:17 +0000 Subject: [PATCH] =?UTF-8?q?NDK=20C-Api=20=E8=B0=83=E6=95=B4image=20resizab?= =?UTF-8?q?le=E7=9A=84=E5=B1=9E=E6=80=A7=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: aryawang Change-Id: I64f69f6b2c965d30eb8510f5d18617691a4e07b5 --- arkui/ace_engine/native/native_node.h | 34 +++++++++++++-------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index a21efe0dd..2d11ef588 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2058,23 +2058,6 @@ typedef enum { * */ NODE_IMAGE_COLOR_FILTER, - /** - * @brief Sets the resizable image options. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].f32: width of the left edge. The unit is vp. \n - * .value[1].f32: width of the top edge. The unit is vp. \n - * .value[2].f32: width of the right edge. The unit is vp. \n - * .value[3].f32: width of the bottom edge. The unit is vp. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].f32: width of the left edge. The unit is vp. \n - * .value[1].f32: width of the top edge. The unit is vp. \n - * .value[2].f32: width of the right edge. The unit is vp. \n - * .value[3].f32: width of the bottom edge. The unit is vp. \n - * - */ - NODE_IMAGE_RESIZABLE, /** * @brief Defines the auto resize attribute, which can be set, reset, and obtained as required through APIs. * @@ -2145,6 +2128,23 @@ typedef enum { * */ NODE_IMAGE_FILL_COLOR, + /** + * @brief Sets the resizable image options. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].f32: width of the left edge. The unit is vp. \n + * .value[1].f32: width of the top edge. The unit is vp. \n + * .value[2].f32: width of the right edge. The unit is vp. \n + * .value[3].f32: width of the bottom edge. The unit is vp. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: width of the left edge. The unit is vp. \n + * .value[1].f32: width of the top edge. The unit is vp. \n + * .value[2].f32: width of the right edge. The unit is vp. \n + * .value[3].f32: width of the bottom edge. The unit is vp. \n + * + */ + NODE_IMAGE_RESIZABLE, /** * @brief Defines the color of the component when it is selected. * This attribute can be set, reset, and obtained as required through APIs. -- Gitee