setEpicenter

abstract fun setEpicenter(@NonNull transitionObj: Any, @Nullable view: View)

Sets a transition epicenter to the rectangle of a given View.


abstract fun setEpicenter(@NonNull transitionObj: Any, @NonNull epicenter: Rect)

Sets the epicenter of a transition to a rect object. The object can be modified until the transition runs.