Compartilhar via


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

Definição

Desenha um retângulo na tela.

public:
 void DrawRectangle(float x, float y, float width, float height);
public void DrawRectangle (float x, float y, float width, float height);
abstract member DrawRectangle : single * single * single * single -> unit
Public Sub DrawRectangle (x As Single, y As Single, width As Single, height 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.

Aplica-se a