array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.ps-stroke.php', 1 => 'ps_stroke', 2 => 'Draws the current path', ), 'up' => array ( 0 => 'ref.ps.php', 1 => 'PS 函数', ), 'prev' => array ( 0 => 'function.ps-stringwidth.php', 1 => 'ps_stringwidth', ), 'next' => array ( 0 => 'function.ps-symbol.php', 1 => 'ps_symbol', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ps/functions/ps-stroke.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ps_stroke

(PECL ps >= 1.1.0)

ps_strokeDraws the current path

说明

ps_stroke(resource $psdoc): bool

Draws the path constructed with previously called drawing functions like ps_lineto().

参数

psdoc

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

返回值

成功时返回 true, 或者在失败时返回 false

参见