OH_ArkUI_AnimatorOption_GetKeyframeCurve

Function OH_ArkUI_AnimatorOption_GetKeyframeCurve 

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

Obtains the interpolation curve for a keyframe in the animation of an animator.

§Arguments

  • option - Indicates an animator parameter object.

  • index - Indicates the keyframe index.

§Returns

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

Available since API-level: 12