Transition.EpicenterCallback.OnGetEpicenter(Transition) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implementers must override to return the epicenter of the Transition in screen coordinates.
[Android.Runtime.Register("onGetEpicenter", "(Landroid/transition/Transition;)Landroid/graphics/Rect;", "GetOnGetEpicenter_Landroid_transition_Transition_Handler")]
public abstract Android.Graphics.Rect? OnGetEpicenter (Android.Transitions.Transition? transition);
[<Android.Runtime.Register("onGetEpicenter", "(Landroid/transition/Transition;)Landroid/graphics/Rect;", "GetOnGetEpicenter_Landroid_transition_Transition_Handler")>]
abstract member OnGetEpicenter : Android.Transitions.Transition -> Android.Graphics.Rect
Parameters
- transition
- Transition
The transition for which the epicenter applies.
Returns
The Rect region of the epicenter of transition
or null if
there is no epicenter.
- Attributes
Remarks
Implementers must override to return the epicenter of the Transition in screen coordinates. Transitions like android.transition.Explode
depend upon an epicenter for the Transition. In Explode, Views move toward or away from the center of the epicenter Rect along the vector between the epicenter and the center of the View appearing and disappearing. Some Transitions, such as android.transition.Fade
pay no attention to the epicenter.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.