Compartilhar via


Path.AddArc Method

Definition

Overloads

AddArc(RectF, Single, Single)

Add the specified arc to the path as a new contour.

AddArc(Single, Single, Single, Single, Single, Single)

Add the specified arc to the path as a new contour.

AddArc(RectF, Single, Single)

Add the specified arc to the path as a new contour.

[Android.Runtime.Register("addArc", "(Landroid/graphics/RectF;FF)V", "GetAddArc_Landroid_graphics_RectF_FFHandler")]
public virtual void AddArc (Android.Graphics.RectF oval, float startAngle, float sweepAngle);
[<Android.Runtime.Register("addArc", "(Landroid/graphics/RectF;FF)V", "GetAddArc_Landroid_graphics_RectF_FFHandler")>]
abstract member AddArc : Android.Graphics.RectF * single * single -> unit
override this.AddArc : Android.Graphics.RectF * single * single -> unit

Parameters

oval
RectF

The bounds of oval defining the shape and size of the arc

startAngle
Single

Starting angle (in degrees) where the arc begins

sweepAngle
Single

Sweep angle (in degrees) measured clockwise

Attributes

Remarks

Add the specified arc to the path as a new contour.

Java documentation for android.graphics.Path.addArc(android.graphics.RectF, float, 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

AddArc(Single, Single, Single, Single, Single, Single)

Add the specified arc to the path as a new contour.

[Android.Runtime.Register("addArc", "(FFFFFF)V", "GetAddArc_FFFFFFHandler")]
public virtual void AddArc (float left, float top, float right, float bottom, float startAngle, float sweepAngle);
[<Android.Runtime.Register("addArc", "(FFFFFF)V", "GetAddArc_FFFFFFHandler")>]
abstract member AddArc : single * single * single * single * single * single -> unit
override this.AddArc : single * single * single * single * single * single -> unit

Parameters

left
Single
top
Single
right
Single
bottom
Single
startAngle
Single

Starting angle (in degrees) where the arc begins

sweepAngle
Single

Sweep angle (in degrees) measured clockwise

Attributes

Remarks

Add the specified arc to the path as a new contour.

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