Compartilhar via


ICanvas.DrawArc Método

Definição

Desenha um arco na tela.

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)

Parâmetros

x
Single

Coordenada inicial x .

y
Single

Coordenada inicial y .

width
Single

Largura do arco.

height
Single

Altura do arco.

startAngle
Single

O ângulo do eixo x até o ponto inicial do arco.

endAngle
Single

O ângulo do eixo x até o ponto final do arco.

clockwise
Boolean

true desenhar o arco no sentido horário; false para desenhar o arco no sentido anti-horário.

closed
Boolean

true especificar se o ponto final do arco será conectado ao ponto inicial; false caso contrário.

Aplica-se a