From fe6bd46a06e6f0aaa404331121858792172930ba Mon Sep 17 00:00:00 2001 From: fangzhiyuan Date: Tue, 26 Aug 2025 16:59:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Drender=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E6=80=A7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fangzhiyuan --- arkui/ace_engine/native/native_render.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/arkui/ace_engine/native/native_render.h b/arkui/ace_engine/native/native_render.h index a0ab9902a81..d6ea4b1c332 100644 --- a/arkui/ace_engine/native/native_render.h +++ b/arkui/ace_engine/native/native_render.h @@ -1490,14 +1490,12 @@ void OH_ArkUI_RenderNodeUtils_DisposeRectShapeOption(ArkUI_RectShapeOption* opti * @brief Set the edge value of RectShape option. * * @param option Pointer to the RectShape option. - * @param top The top value of the RectShape. - * @param right The right value of the RectShape. - * @param bottom The bottom value of the RectShape. - * @param left The left value of the RectShape. + * @param edgeValue The edge value of the RectShape. + * @param direction {@Link ArkUI_EdgeDirection} The direction of the edge. * @since 20 */ void OH_ArkUI_RenderNodeUtils_SetRectShapeOptionEdgeValue( - ArkUI_RectShapeOption* option, float top, float right, float bottom, float left); + ArkUI_RectShapeOption* option, float edgeValue, ArkUI_EdgeDirection direction); /** * @brief Create a NodeBorderStyle option. @@ -1670,14 +1668,12 @@ void OH_ArkUI_RenderNodeUtils_DisposeRoundRectShapeOption(ArkUI_RoundRectShapeOp * @brief Set the edge value of RoundRectShape option. * * @param option Pointer to the RoundRectShape option. - * @param top The top value of the RoundRectShape. - * @param right The right value of the RoundRectShape. - * @param bottom The bottom value of the RoundRectShape. - * @param left The left value of the RoundRectShape. + * @param edgeValue The edge value of the RoundRectShape. + * @param direction {@Link ArkUI_EdgeDirection} The direction of the edge. * @since 20 */ void OH_ArkUI_RenderNodeUtils_SetRoundRectShapeOptionEdgeValue( - ArkUI_RoundRectShapeOption* option, float top, float right, float bottom, float left); + ArkUI_RoundRectShapeOption* option, float edgeValue, ArkUI_EdgeDirection direction); /** * @brief Set the coordinate value of the target corner. -- Gitee