GradientDrawable.GradientCenterY Property

Definition

Returns the Y-position of the center of this gradient as a fraction of the height.

public virtual float GradientCenterY { [Android.Runtime.Register("getGradientCenterY", "()F", "GetGetGradientCenterYHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getGradientCenterY", "()F", "GetGetGradientCenterYHandler", ApiSince=24)>]
member this.GradientCenterY : single

Property Value

the Y-position of the center of the gradient

Attributes

Remarks

Returns the Y-position of the center of this gradient as a fraction of the height.

Java documentation for android.graphics.drawable.GradientDrawable.getGradientCenterY().

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