Sdílet prostřednictvím


ICanvas.DrawRectangle(Single, Single, Single, Single) Metoda

Definice

Nakreslí obdélník na plátno.

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)

Parametry

x
Single

Počáteční x souřadnice.

y
Single

Počáteční y souřadnice.

width
Single

Šířka obdélníku

height
Single

Výška obdélníku

Platí pro