OH_ArkUI_NodeCustomEvent_GetPositionInLayout

Function OH_ArkUI_NodeCustomEvent_GetPositionInLayout 

Source
pub unsafe extern "C" fn OH_ArkUI_NodeCustomEvent_GetPositionInLayout(
    event: *mut ArkUI_NodeCustomEvent,
) -> ArkUI_IntOffset
Available on crate feature api-12 only.
Expand description

Obtains the expected position of a component relative to its parent component in the layout phase through a custom component event.

§Arguments

  • event - Indicates the pointer to the custom component event.

§Returns

  • Returns the expected position relative to the parent component.

Available since API-level: 12