OH_ArkUI_RenderNodeUtils_SetRoundRectShapeOptionCornerXY

Function OH_ArkUI_RenderNodeUtils_SetRoundRectShapeOptionCornerXY 

Source
pub unsafe extern "C" fn OH_ArkUI_RenderNodeUtils_SetRoundRectShapeOptionCornerXY(
    option: *mut ArkUI_RoundRectShapeOption,
    x: f32,
    y: f32,
    direction: ArkUI_CornerDirection,
)
Available on crate feature api-20 only.
Expand description

Set the coordinate value of the target corner.

ยงArguments

  • option - Pointer to the RoundRectShape option.

  • x - X-coordinate of the target corner (in pixels).

  • y - Y-coordinate of the target corner (in pixels).

  • direction - ArkUI_CornerDirection The direction of the corner.

Available since API-level: 20