6.20. LineStyle

[<<<] [>>>]

gd::LineStyle image,LineStyle

Set the style for styled lines. The argument LineStyle should be an array of integer values. Each integer value should specify a color index. These color values are taken one after the other looping when a styled line is drawn. Using undef for an array element means that the line at that point is not drawn and the original color of the picture is left intact. This can be used to draw dashed lines.


[<<<] [>>>]