From 63d7b88cf6728700cf50886047ccc8bec6b54cee Mon Sep 17 00:00:00 2001 From: wangyang2022 Date: Mon, 11 Aug 2025 08:12:22 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9SetRectShapeOptionEdgeValue?= =?UTF-8?q?=E5=92=8CSetRoundRectShapeOptionEdgeValue=E6=8E=A5=E5=8F=A3=20S?= =?UTF-8?q?igned-off-by:=20wangyang2022=20=20Chang?= =?UTF-8?q?e-Id:=20I9e11ca1b81ac684b594de27f82e1b2745a271a86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arkui/ace_engine/native/native_render.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/arkui/ace_engine/native/native_render.h b/arkui/ace_engine/native/native_render.h index d6ea4b1c3..a0ab9902a 100644 --- a/arkui/ace_engine/native/native_render.h +++ b/arkui/ace_engine/native/native_render.h @@ -1490,12 +1490,14 @@ void OH_ArkUI_RenderNodeUtils_DisposeRectShapeOption(ArkUI_RectShapeOption* opti * @brief Set the edge value of RectShape option. * * @param option Pointer to the RectShape option. - * @param edgeValue The edge value of the RectShape. - * @param direction {@Link ArkUI_EdgeDirection} The direction of the edge. + * @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. * @since 20 */ void OH_ArkUI_RenderNodeUtils_SetRectShapeOptionEdgeValue( - ArkUI_RectShapeOption* option, float edgeValue, ArkUI_EdgeDirection direction); + ArkUI_RectShapeOption* option, float top, float right, float bottom, float left); /** * @brief Create a NodeBorderStyle option. @@ -1668,12 +1670,14 @@ void OH_ArkUI_RenderNodeUtils_DisposeRoundRectShapeOption(ArkUI_RoundRectShapeOp * @brief Set the edge value of RoundRectShape option. * * @param option Pointer to the RoundRectShape option. - * @param edgeValue The edge value of the RoundRectShape. - * @param direction {@Link ArkUI_EdgeDirection} The direction of the edge. + * @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. * @since 20 */ void OH_ArkUI_RenderNodeUtils_SetRoundRectShapeOptionEdgeValue( - ArkUI_RoundRectShapeOption* option, float edgeValue, ArkUI_EdgeDirection direction); + ArkUI_RoundRectShapeOption* option, float top, float right, float bottom, float left); /** * @brief Set the coordinate value of the target corner. -- Gitee