Compartir a través de


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

Definición

Dibuja un rectángulo en el lienzo.

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

Ancho del rectángulo.

height
Single

Alto del rectángulo.

Se aplica a