Android.Graphics.Drawables.PaintDrawable.SetCornerRadius Method
Specify radius for the corners of the rectangle.

Syntax

[Android.Runtime.Register("setCornerRadius", "(F)V", "GetSetCornerRadius_FHandler")]
public virtual void SetCornerRadius (float radius)

Parameters

radius
the radius for the corners of the rectangle

Remarks

Specify radius for the corners of the rectangle. If this is > 0, then the drawable is drawn in a round-rectangle, rather than a rectangle.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1