pub unsafe extern "C" fn OH_ArkUI_RenderNodeUtils_SetClip(
node: ArkUI_RenderNodeHandle,
clip: *mut ArkUI_RenderNodeClipOption,
) -> i32Available on crate feature
api-20 only.Expand description
Apply a clip to a render node using the clip option.
§Arguments
-
node- Handle to the target render node. -
clip- Handle to the clip option.
§Returns
- Error code.
[
ARKUI_ERROR_CODE_NO_ERROR] Success. [ARKUI_ERROR_CODE_PARAM_INVALID] Function parameter exception. [ARKUI_ERROR_CODE_CAPI_INIT_ERROR] if CAPI init error.
Available since API-level: 20