Skip to main content
Skip table of contents

f$BitmapDrawLine


f$BitmapDrawLine

Draw a line in the active image.

Syntax:

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

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

 

Argument

Type

Meaning

 

X1

Integer

Starting position of the line on the x-axis

 

Y1

Integer

Starting position of the line on the y-axis. Please note that y-coordinates run downwards along the axis.

 

X2

Integer

Ending position of the line on the x-axis

 

Y2

Integer

Ending position of the line on the y-axis.

 

R

Integer

Red value of the line color from 0-255

 

G

Integer

Green value of the line color from 0-255

 

B

Integer

Blue value of the line color from 0-255

 

Width

Integer

Line thickness in pixels

Result:

Integer

JavaScript errors detected

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

If this problem persists, please contact our support.