imagesetstyle() sets the style to be used by all line drawing functions (such as imageline() and imagepolygon()) when drawing with the special color IMG_COLOR_STYLED or lines of images with color IMG_COLOR_STYLEDBRUSHED.
imageAn image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
styleAn array of pixel colors.
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
Following example script draws a dashed line from upper left to lower right corner of the canvas:
| Пред. | Начало | След. |
| imagesetpixel | Уровень выше | imagesetthickness |