OH_ArkUI_NodeCustomEvent_GetDrawContextInDraw

Function OH_ArkUI_NodeCustomEvent_GetDrawContextInDraw 

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

Obtains the drawing context through a custom component event.

§Arguments

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

§Returns

  • Returns the drawing context.

Available since API-level: 12