编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « ps_setgray
  • ps_setlinejoin »
  • PHP Manual
  • PS 函数
  • Sets appearance of line ends

ps_setlinecap

(PECL ps >= 1.1.0)

ps_setlinecap — Sets appearance of line ends

说明

ps_setlinecap ( resource $psdoc , int $type ) : bool

Sets how line ends look like.

参数

psdoc

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

type

The type of line ends. Possible values are PS_LINECAP_BUTT, PS_LINECAP_ROUND, or PS_LINECAP_SQUARED.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE。

参见

  • ps_setlinejoin() - Sets how contected lines are joined
  • ps_setlinewidth() - Sets width of a line
  • ps_setmiterlimit() - Sets the miter limit

相关文章
php ps 函数 continue text in next linephp ps 函数 draws a linephp ps 函数 sets current pointphp ps 函数 sets rotation factorphp ps 函数 sets scaling factorphp ps 函数 sets color of border for annotationsphp ps 函数 sets length of dashes for border of annotationsphp ps 函数 sets border style of annotationsphp ps 函数 sets information fields of documentphp ps 函数 sets appearance of a dashed linephp ps 函数 sets flatnessphp ps 函数 sets font to use for following outputphp ps 函数 sets gray valuephp ps 函数 sets appearance of line endsphp ps 函数 sets how contected lines are joinedphp ps 函数 sets width of a linephp ps 函数 sets the miter limitphp ps 函数 sets overprint modephp ps 函数 sets appearance of a dashed linephp ps 函数 sets translation
关注编程学问公众号
编程学问网 湘ICP备20001732号