编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « HaruFont
  • HaruFont::getCapHeight »
  • PHP Manual
  • HaruFont
  • Get the vertical ascent of the font

HaruFont::getAscent

(PECL haru >= 0.0.1)

HaruFont::getAscent — Get the vertical ascent of the font

说明

HaruFont::getAscent ( void ) : int

Get the vertical ascent of the font.

参数

此函数没有参数。

返回值

Returns the vertical ascent of the font.

错误/异常

发生错误时抛出 HaruException 异常。

相关文章
php haru the harufont classphp pdf 函数 terminate glyph definition for type 3 fontphp pdf 函数 set fontphp ui 函数 retrieve font familiesphp gmagick gets the horizontal and vertical sampling factorphp harudoc get harufont instancephp harufont get the vertical ascent of the fontphp harufont get the vertical descent of the fontphp harufont get the name of the fontphp harufont get the width of the character in the fontphp harufont get the distance from the baseline of lowercase lettersphp imagick returns an array representing the font metricsphp imagickdraw returns the font pointsizephp swffont returns the ascent of the font or 0 if not availablephp swffont returns the descent of the font or 0 if not availablephp swffont returns the leading of the font or 0 if not availablephp swftext returns the ascent of the current font at its current size or 0 if not availablephp swftextfield sets the text field fontphp ui draw text font descriptor size detectionphp ui draw text font descriptor style detection
关注编程学问公众号
编程学问网 湘ICP备20001732号