DrawLine

Description

Draws a 2D line from one point on the screen to another with a chosen color. Lines appear above all other drawing except the Print command and can be used with the GetImage function to create new images. The XY coordinates are in screen coordinates so are not affected by the SetViewOffset command.

Definition

DrawLine( x, y, x2, y2, red, green, blue )

DrawLine( x, y, x2, y2, color1, color2 )

Parameters