Läs på engelska

Dela via


View.PivotY Property

Definition

The y location of the point around which the view is #setRotation(float) rotated and #setScaleY(float) scaled. -or- Sets the y location of the point around which the view is #setRotation(float) rotated and #setScaleY(float) scaled.

C#
public virtual float PivotY { [Android.Runtime.Register("getPivotY", "()F", "GetGetPivotYHandler")] get; [Android.Runtime.Register("setPivotY", "(F)V", "GetSetPivotY_FHandler")] set; }

Property Value

The y location of the pivot point.

Attributes

Remarks

Property getter documentation:

The y location of the point around which the view is #setRotation(float) rotated and #setScaleY(float) scaled.

Java documentation for android.view.View.getPivotY().

Property setter documentation:

Sets the y location of the point around which the view is #setRotation(float) rotated and #setScaleY(float) scaled. By default, the pivot point is centered on the object. Setting this property disables this behavior and causes the view to use only the explicitly set pivotX and pivotY values.

Java documentation for android.view.View.setPivotY(float).

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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35

See also