GradientDrawable.CornerRadius Property

Definition

Returns the radius for the corners of the gradient, that was previously set with #setCornerRadius(float).

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

Property Value

Single

the radius in pixels of the corners of the rectangle shape, or 0

Attributes

Remarks

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

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