Megosztás a következőn keresztül:


View.ResetPivot Method

Definition

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.

Applies to