OH_ArkUI_AnimatorOption_GetCurve

Function OH_ArkUI_AnimatorOption_GetCurve 

Source
pub unsafe extern "C" fn OH_ArkUI_AnimatorOption_GetCurve(
    option: *mut ArkUI_AnimatorOption,
) -> ArkUI_CurveHandle
Available on crate feature api-12 only.
Expand description

Obtains the interpolation curve of the animation of an animator.

§Arguments

  • option - Indicates the animator parameters.

§Returns

  • Returns the interpolation curve of the animation. Returns NULL if a parameter error occurs.

Available since API-level: 12