Aracılığıyla paylaş


GradientDrawable.GradientCenterX Property

Definition

Returns the X-position of the center of the gradient as a fraction of the width.

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

Property Value

the X-position of the center of the gradient

Attributes

Remarks

Returns the X-position of the center of the gradient as a fraction of the width.

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

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