Quoting the manual

Quote:
color - BGR end color of the line. The start color is the color of the last line draw call. The line is drawn in a smooth transition between the start and the end color. If NULL is given, no line is drawn, but the position is set for the start of the next line.


Please also take a look at the example.


His words are wise, his face is beard.