Compartir a través de


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

Definición

Dibuja una línea entre dos puntos en el lienzo.

public:
 void DrawLine(float x1, float y1, float x2, float y2);
public void DrawLine (float x1, float y1, float x2, float y2);
abstract member DrawLine : single * single * single * single -> unit
Public Sub DrawLine (x1 As Single, y1 As Single, x2 As Single, y2 As Single)

Parámetros

x1
Single

Coordenada inicial x .

y1
Single

Coordenada inicial y .

x2
Single

Coordenada final x .

y2
Single

Coordenada final x .

Se aplica a