Line

Help Contents Graphics Direct Graphics Line
setPixelXYZ RGB

Line coordinates color(s)


draws lines between the coordinates in the respective color(s). The first color in a list or array of colors is ignored. There is a bug when using multicolors if the turtle is shown, so hideTurtle before line.

Examples:

Line [[0 0][100 0][100 100]] 0
ht Line [[0 0][100 0][100 100]] (list rgb 1 0 0  rgb 0 1 0  rgb 0 0 1) st

Examples:

References:

setPixelXYZ RGB