pub unsafe extern "C" fn OH_ArkUI_AnimatorOption_Create(
keyframeSize: i32,
) -> *mut ArkUI_AnimatorOptionAvailable on crate feature
api-12 only.Expand description
Creates an animator parameter object.
Note: When keyframeSize is greater than 0, the animation interpolation start point is 0, and the animation interpolation end point is 1; no setting is allowed.
§Arguments
keyframeSize- Indicates the number of keyframes.
§Returns
- Returns the pointer to the animator parameter object. returns NULL if the value of size is less than 0.
Available since API-level: 12