OH_ArkUI_CreateRotationTransitionEffect

Function OH_ArkUI_CreateRotationTransitionEffect 

Source
pub unsafe extern "C" fn OH_ArkUI_CreateRotationTransitionEffect(
    rotate: *mut ArkUI_RotationOptions,
) -> *mut ArkUI_TransitionEffect
Available on crate feature api-12 only.
Expand description

Creates a rotation object for component transition.

§Arguments

  • rotate - Indicates the rotation settings for component transition.

§Returns

  • Returns the rotation object created for component transition. Returns NULL if a parameter error occurs.

Available since API-level: 12