ps_setmiterlimit
(PECL ps >= 1.1.0)
ps_setmiterlimit — Sets the miter limit
说明
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.
参数
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.
参见
- ps_setlinecap() - Sets appearance of line ends
- ps_setlinejoin() - Sets how contected lines are joined
- ps_setlinewidth() - Sets width of a line
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/function.ps-setmiterlimit.php