RenderNode.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", "()Z", "", ApiSince=29)]
public bool ResetPivot ();
[<Android.Runtime.Register("resetPivot", "()Z", "", ApiSince=29)>]
member this.ResetPivot : unit -> bool
Returns
True if the value changed, false if the new value was the same as the previous value.
- Attributes
Remarks
Clears any pivot previously set by a call to #setPivotX(float)
or #setPivotY(float)
. After calling this #isPivotExplicitlySet()
will be false and the pivot used for rotation will return to default of being centered on the view.
Java documentation for android.graphics.RenderNode.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.