Zum Inhalt

.DrawLine (.graphics Objektmethode)

Beschreibung

Diese Funktion zeichnet eine Linie. Draws a line from (X1, Y1) to (X2, Y2) using the current pen.

Argumente

Name

Typ

Beschreibung

X1

float

x1 in mm (Startpunkt)

Y1

float

y1 in mm (Startpunkt)

X2

float

x2 in mm (Endpunkt)

Y2

float

y2 in mm (Endpunkt)

Rückgabewert void

nichts

Beispiel

Lo_Graphics.DrawLine(0, 45, Li_Width, 45);