编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 ui font stretch settingsphp pdf 函数 start a type 3 font definitionphp pdf 函数 search and prepare fontphp gmagickdraw returns the font stylephp gmagickdraw returns the font weightphp gmagickdraw sets the fully specified font to use when annotating with textphp harudoc load the font with the specified index from ttc filephp harudoc load ttf font filephp harufont get the vertical ascent of the fontphp harufont get the distance from the baseline of uppercase lettersphp 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 imagickdraw draws a vertical line pathphp imagickdraw sets the font stretch to use when annotating with textphp imagickdraw sets the font style to use when annotating with textphp swffont returns the ascent 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 swftext sets the current font spacing
关注编程学问公众号
编程学问网 湘ICP备20001732号