ICanvas.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.
Draws an arc onto the canvas.
public:
void DrawArc(float x, float y, float width, float height, float startAngle, float endAngle, bool clockwise, bool closed);
public void DrawArc (float x, float y, float width, float height, float startAngle, float endAngle, bool clockwise, bool closed);
abstract member DrawArc : single * single * single * single * single * single * bool * bool -> unit
Public Sub DrawArc (x As Single, y As Single, width As Single, height As Single, startAngle As Single, endAngle As Single, clockwise As Boolean, closed As Boolean)
Parameters
- x
- Single
Starting x
coordinate.
- y
- Single
Starting y
coordinate.
- width
- Single
Width of the arc.
- height
- Single
Height of the arc.
- startAngle
- Single
The angle from the x-axis to the start point of the arc.
- endAngle
- Single
The angle from the x-axis to the end point of the arc.
- clockwise
- Boolean
true
to draw the arc in a clockwise direction; false
to draw the arc counterclockwise.
- closed
- Boolean
true
to specify whether the end point of the arc will be connected to the start point; false
otherwise.