View.ResetPivot 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.
Clears any pivot previously set by a call to #setPivotX(float)
or
#setPivotY(float)
.
[Android.Runtime.Register("resetPivot", "()V", "GetResetPivotHandler", ApiSince=28)]
public virtual void ResetPivot ();
[<Android.Runtime.Register("resetPivot", "()V", "GetResetPivotHandler", ApiSince=28)>]
abstract member ResetPivot : unit -> unit
override this.ResetPivot : unit -> unit
- Attributes
Remarks
Clears any pivot previously set by a call to #setPivotX(float)
or #setPivotY(float)
. After calling this #isPivotSet()
will be false and the pivot used for rotation will return to default of being centered on the view.
Java documentation for android.view.View.resetPivot()
.
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.