Compartilhar via


ICanvas.DrawRoundedRectangle(Single, Single, Single, Single, Single) Método

Definição

Desenha um retângulo com cantos arredondados na tela.

public:
 void DrawRoundedRectangle(float x, float y, float width, float height, float cornerRadius);
public void DrawRoundedRectangle (float x, float y, float width, float height, float cornerRadius);
abstract member DrawRoundedRectangle : single * single * single * single * single -> unit
Public Sub DrawRoundedRectangle (x As Single, y As Single, width As Single, height As Single, cornerRadius As Single)

Parâmetros

x
Single

Coordenada inicial x .

y
Single

Coordenada inicial y .

width
Single

Largura do retângulo.

height
Single

Altura do retângulo.

cornerRadius
Single

O raio usado para arredondar os cantos do retângulo.

Aplica-se a