GradientDrawable.GradientCenterX Property
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.
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
the X-position of the center of the gradient
- Attributes
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.