Udostępnij za pośrednictwem


RotateDrawable.PivotY Property

Definition

Sets the Y position around which the drawable is rotated.

public virtual float PivotY { [Android.Runtime.Register("getPivotY", "()F", "GetGetPivotYHandler")] get; [Android.Runtime.Register("setPivotY", "(F)V", "GetSetPivotY_FHandler")] set; }
[<get: Android.Runtime.Register("getPivotY", "()F", "GetGetPivotYHandler")>]
[<set: Android.Runtime.Register("setPivotY", "(F)V", "GetSetPivotY_FHandler")>]
member this.PivotY : single with get, set

Property Value

Y position around which to rotate

Attributes

Remarks

Property getter documentation:

Java documentation for android.graphics.drawable.RotateDrawable.getPivotY().

Property setter documentation:

Sets the Y position around which the drawable is rotated.

If the Y pivot is relative (as specified by #setPivotYRelative(boolean)), then the position represents a fraction of the drawable height. Otherwise, the position represents an absolute value in pixels.

Java documentation for android.graphics.drawable.RotateDrawable.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

See also