RecordingCanvas.DrawArc Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| DrawArc(RectF, Single, Single, Boolean, Paint) |
Draw the specified arc, which will be scaled to fit inside the specified oval. |
| DrawArc(Single, Single, Single, Single, Single, Single, Boolean, Paint) |
Draw the specified arc, which will be scaled to fit inside the specified oval. |
DrawArc(RectF, Single, Single, Boolean, Paint)
Draw the specified arc, which will be scaled to fit inside the specified oval.
[Android.Runtime.Register("drawArc", "(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawArc(Android.Graphics.RectF oval, float startAngle, float sweepAngle, bool useCenter, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawArc", "(Landroid/graphics/RectF;FFZLandroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawArc : Android.Graphics.RectF * single * single * bool * Android.Graphics.Paint -> unit
Parameters
- oval
- RectF
- startAngle
- Single
Starting angle (in degrees) where the arc begins
- sweepAngle
- Single
Sweep angle (in degrees) measured clockwise
- useCenter
- Boolean
If true, include the center of the oval in the arc, and close it if it is being stroked. This will draw a wedge
- paint
- Paint
- Attributes
Remarks
Draw the specified arc, which will be scaled to fit inside the specified oval.
Android reference for android.graphics.RecordingCanvas.drawArc.
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
DrawArc(Single, Single, Single, Single, Single, Single, Boolean, Paint)
Draw the specified arc, which will be scaled to fit inside the specified oval.
[Android.Runtime.Register("drawArc", "(FFFFFFZLandroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawArc", "(FFFFFFZLandroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawArc : single * single * single * single * single * single * bool * Android.Graphics.Paint -> 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
- useCenter
- Boolean
If true, include the center of the oval in the arc, and close it if it is being stroked. This will draw a wedge
- paint
- Paint
- Attributes
Remarks
Android reference for android.graphics.RecordingCanvas.drawArc.
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.