array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.ps-setmiterlimit.php', 1 => 'ps_setmiterlimit', 2 => 'Sets the miter limit', ), 'up' => array ( 0 => 'ref.ps.php', 1 => 'PS Funktionen', ), 'prev' => array ( 0 => 'function.ps-setlinewidth.php', 1 => 'ps_setlinewidth', ), 'next' => array ( 0 => 'function.ps-setoverprintmode.php', 1 => 'ps_setoverprintmode', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ps/functions/ps-setmiterlimit.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ps_setmiterlimit

(PECL ps >= 1.1.0)

ps_setmiterlimitSets the miter limit

Beschreibung

ps_setmiterlimit(resource $psdoc, float $value): bool

If two lines join in a small angle and the line join is set to PS_LINEJOIN_MITER, then the resulting spike will be very long. The miter limit is the maximum ratio of the miter length (the length of the spike) and the line width.

Parameter-Liste

psdoc

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

value

The maximum ratio between the miter length and the line width. Larger values (> 10) will result in very long spikes when two lines meet in a small angle. Keep the default unless you know what you are doing.

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.

Siehe auch