OH_ArkUI_AnimateOption_SetCurve

Function OH_ArkUI_AnimateOption_SetCurve 

Source
pub unsafe extern "C" fn OH_ArkUI_AnimateOption_SetCurve(
    option: *mut ArkUI_AnimateOption,
    value: ArkUI_AnimationCurve,
)
Available on crate feature api-12 only.
Expand description

Sets the animation curve.

§Arguments

  • option - Indicates the pointer to an animation configuration.

  • value - Indicates the animated curve. Default value:ARKUI_CURVE_LINEAR.

Available since API-level: 12