Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ps_setlinejoinps_setmiterlimit>
^PS FunctionsLast updated: Mon, 26 Oct 2026

ps_setlinewidth

(PECL ps >= 1.1.0)

ps_setlinewidth — Sets width of a line

Description

function ps_setlinewidth(resource $psdoc, float $width): bool

Sets the line width for all following drawing operations.

Parameters

psdoc

Resource identifier of the postscript file as returned by ps_new().

width

The width of lines in points.

Return Values

Returns true on success or false on failure.

See Also


<ps_setlinejoinps_setmiterlimit>
^PS FunctionsLast updated: Mon, 26 Oct 2026