GradientDrawable.SetGradientRadius(Single) Method

Definition

Sets the radius of the gradient.

[Android.Runtime.Register("setGradientRadius", "(F)V", "GetSetGradientRadius_FHandler")]
public virtual void SetGradientRadius (float gradientRadius);
[<Android.Runtime.Register("setGradientRadius", "(F)V", "GetSetGradientRadius_FHandler")>]
abstract member SetGradientRadius : single -> unit
override this.SetGradientRadius : single -> unit

Parameters

gradientRadius
Single

the radius of the gradient in pixels

Attributes

Remarks

Java documentation for android.graphics.drawable.GradientDrawable.setGradientRadius(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