Skip to main content
Skip table of contents

f$BitmapLinie


f$BitmapLinie

Zeichnen einer Linie in das aktive Bild.

Syntax:

Status = f$BitmapLinie (X1,Y1,X2,Y2,R,G,B,Dicke)

engl.: Status = f$BitmapDrawLine (X1,Y1,X2,Y2,R,G,B,Width)

 

Argument

Typ

Bedeutung

 

X1

Ganzzahl

X-Position des Linienanfangs

 

Y1

Ganzzahl

Y-Position des Linienanfangs. Bitte beachten, dass die Y-Koordinate von oben nach unten verläuft.

 

X2

Ganzzahl

X-Position des Linienendes

 

Y2

Ganzzahl

Y-Position des Linienendes.

 

R

Ganzzahl

Rotwert der Linienfarbe von 0-255

 

G

Ganzzahl

Grünwert der Linienfarbe von 0-255

 

B

Ganzzahl

Blauwert der Linienfarbe von 0-255

 

Dicke

Ganzzahl

Liniendicke in Pixel

Ergebnis:

Ganzzahl

Siehe Rückgabewerte der Bild Funktionen

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.