PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
imagesetstyle - Set the style for line drawing
Code Examples

Example #1 imagesetstyle example

Following example script draws a dashed line from upper left to lower right corner of the canvas:

PHP Version:

Function imagesetstyle:

Image Processing and GD Functions

Most used PHP functions