Canvas.DrawCircle(Single, Single, Single, Paint) Method

Definition

Draw the specified circle using the specified paint.

[Android.Runtime.Register("drawCircle", "(FFFLandroid/graphics/Paint;)V", "GetDrawCircle_FFFLandroid_graphics_Paint_Handler")]
public virtual void DrawCircle (float cx, float cy, float radius, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawCircle", "(FFFLandroid/graphics/Paint;)V", "GetDrawCircle_FFFLandroid_graphics_Paint_Handler")>]
abstract member DrawCircle : single * single * single * Android.Graphics.Paint -> unit
override this.DrawCircle : single * single * single * Android.Graphics.Paint -> unit

Parameters

cx
Single

The x-coordinate of the center of the circle to be drawn

cy
Single

The y-coordinate of the center of the circle to be drawn

radius
Single

The radius of the circle to be drawn

paint
Paint

The paint used to draw the circle

Attributes

Remarks

Draw the specified circle using the specified paint. If radius is <= 0, then nothing will be drawn. The circle will be filled or framed based on the Style in the paint.

Java documentation for android.graphics.Canvas.drawCircle(float, float, float, android.graphics.Paint).

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