Function DrawPolyline

DrawPolyline(Xs, Ys)
The function draws a polyline using arrays of x and y coordinates. By default the color of polyline is white and width is 1 pixel. Example:
Xs[1] = 100
Xs[2] = 150
Xs[3] = 200
Xs[4] = 250
Xs[5] = 300

Ys[1] = 100
Ys[2] = 200
Ys[3] = 100
Ys[4] = 200
Ys[5] = 100

DrawPolyline (Xs, Ys)
This is how result would look like (red coordinates are just for reference):

See also: