diff --git a/arkui/ace_engine/native/native_render.h b/arkui/ace_engine/native/native_render.h index d6ea4b1c33270c8d453c39b2a6164e6ca41eff42..a0ab9902a8120b9a0d396064d5477bcbed095eeb 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.