pub unsafe extern "C" fn OH_ArkUI_PointerEvent_GetWindowX(
event: *const ArkUI_UIInputEvent,
) -> f32Available on crate feature
api-12 only.Expand description
@brief Obtains the X coordinate relative to the upper left corner of the current application window from a directional input event (such as a touch event, mouse event, or axis event).
@param event Indicates the pointer to the UI input event. @return Returns the X coordinate relative to the upper left corner of the current application window; returns 0 if any parameter error occurs. @since 12