Project

General

Profile

Actions

Added in 1.9.0

/drawline [-ihnr] <@window> <color> <size> <x y> <x y> [<x y>...]

Draws a line from the first <x y> co-ordinate to the second, if more co-ordinates are specified, the line is continued.

Switches

Switch Description
-i Draws in inverse mode.
-h Highlights the windows icon if it is minimized.
-n Prevents the display from being updated immediately.
-r Indicates that the color is in RGB format. You can use $rgb(N,N,N) to create an RGB value.

Parameters

Parameter Description
<@window> The picture window to draw in.
<color> Color off the line to draw.
<size> Size of the line to draw.
<x y> x,y co-ordinates to draw at.
[<x y>...] Additional points to draw.

Updated by Per Amundsen over 1 year ago · 5 revisions

Also available in: PDF HTML TXT