pub unsafe extern "C" fn OH_ArkUI_RenderNodeUtils_AttachFloatProperty(
modifier: ArkUI_RenderContentModifierHandle,
property: ArkUI_FloatPropertyHandle,
) -> i32Available on crate feature
api-20 only.Expand description
Attach a float property to the target content modifier.
§Arguments
-
modifier-ArkUI_RenderContentModifierHandleSet float property to the target content modifier. -
property-ArkUI_FloatPropertyHandleHandle to the float property.
§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