共用方式為


Canvas.DrawOval Method

Definition

Overloads

DrawOval(RectF, Paint)

Draw the specified oval using the specified paint.

DrawOval(Single, Single, Single, Single, Paint)

Draw the specified oval using the specified paint.

DrawOval(RectF, Paint)

Draw the specified oval using the specified paint.

[Android.Runtime.Register("drawOval", "(Landroid/graphics/RectF;Landroid/graphics/Paint;)V", "GetDrawOval_Landroid_graphics_RectF_Landroid_graphics_Paint_Handler")]
public virtual void DrawOval (Android.Graphics.RectF oval, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawOval", "(Landroid/graphics/RectF;Landroid/graphics/Paint;)V", "GetDrawOval_Landroid_graphics_RectF_Landroid_graphics_Paint_Handler")>]
abstract member DrawOval : Android.Graphics.RectF * Android.Graphics.Paint -> unit
override this.DrawOval : Android.Graphics.RectF * Android.Graphics.Paint -> unit

Parameters

oval
RectF

The rectangle bounds of the oval to be drawn

paint
Paint
Attributes

Remarks

Draw the specified oval using the specified paint. The oval will be filled or framed based on the Style in the paint.

Java documentation for android.graphics.Canvas.drawOval(android.graphics.RectF, 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

DrawOval(Single, Single, Single, Single, Paint)

Draw the specified oval using the specified paint.

[Android.Runtime.Register("drawOval", "(FFFFLandroid/graphics/Paint;)V", "GetDrawOval_FFFFLandroid_graphics_Paint_Handler")]
public virtual void DrawOval (float left, float top, float right, float bottom, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawOval", "(FFFFLandroid/graphics/Paint;)V", "GetDrawOval_FFFFLandroid_graphics_Paint_Handler")>]
abstract member DrawOval : single * single * single * single * Android.Graphics.Paint -> unit
override this.DrawOval : single * single * single * single * Android.Graphics.Paint -> unit

Parameters

left
Single
top
Single
right
Single
bottom
Single
paint
Paint
Attributes

Remarks

Draw the specified oval using the specified paint. The oval will be filled or framed based on the Style in the paint.

Java documentation for android.graphics.Canvas.drawOval(float, 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