imagesetstyle(PHP 4 >= 4.0.6, PHP 5) imagesetstyle — Set the style for line drawing Описание
   bool imagesetstyle
    ( resource $image
   , array $style
   ) 
  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. Список параметров
 
 Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. ПримерыFollowing example script draws a dashed line from upper left to lower right corner of the canvas: Пример #1 imagesetstyle() example 
<?phpРезультатом выполнения данного примера будет что-то подобное:  
      | 
||