imagesetthickness
(PHP 4 >= 4.0.6, PHP 5)
imagesetthickness — Set the thickness for line drawing
Описание
bool imagesetthickness
( resource $image
, int $thickness
)
imagesetthickness() sets the thickness of the lines drawn when drawing rectangles, polygons, ellipses etc. etc. to thickness pixels.
Список параметров
- image
-
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
- thickness
-
Возвращаемые значения
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
Примечания
Note: Эта функция нуждается в GD версии 2.0.1 или выше.