pub unsafe extern "C" fn OH_Input_CustomCursor_Create(
pixelMap: *mut OH_PixelmapNative,
anchorX: i32,
anchorY: i32,
) -> *mut Input_CustomCursorAvailable on crate feature
api-22 only.Expand description
Creates a CustomCursor object.
§Arguments
-
pixelMap- Pointer to aOH_PixelmapNativeobject. -
anchorX- Horizontal coordinate of the cursor focus. -
anchorY- Vertical coordinate of the cursor focus.
§Returns
- Returns an
Input_CustomCursorpointer object if the operation is successful. returns a null pointer otherwise.
Available since API-level: 22