ICanvas.DrawArc 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将弧线绘制到画布上。
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)
参数
- x
- Single
起始 x
坐标。
- y
- Single
起始 y
坐标。
- width
- Single
弧线的宽度。
- height
- Single
弧的高度。
- startAngle
- Single
从 x 轴到弧线起点的角度。
- endAngle
- Single
从 x 轴到弧线终点的角度。
- clockwise
- Boolean
true
以顺时针方向绘制弧线; false
以反时针绘制弧线。
- closed
- Boolean
true
如果指定弧线的终点是否连接到起点,则为 ; false
否则。