HaruFont::getXHeight
(PECL haru >= 0.0.1)
HaruFont::getXHeight — Get the distance from the baseline of lowercase letters
Description
int HaruFont::getXHeight
( void
)
Gets the distance from the baseline of lowercase letters.
Parameters
This function has no parameters.
Return Values
Returns the distance from the baseline of lowercase letters.
Errors/Exceptions
Throws a HaruException on error.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Генерация нетекстовых MIME форматов
- Haru PDF
- Функция HaruFont::getAscent() - Get the vertical ascent of the font
- Функция HaruFont::getCapHeight() - Get the distance from the baseline of uppercase letters
- Функция HaruFont::getDescent() - Get the vertical descent of the font
- Функция HaruFont::getEncodingName() - Get the name of the encoding
- Функция HaruFont::getFontName() - Get the name of the font
- Функция HaruFont::getTextWidth() - Get the total width of the text, number of characters, number of words and number of spaces
- Функция HaruFont::getUnicodeWidth() - Get the width of the character in the font
- Функция HaruFont::getXHeight() - Get the distance from the baseline of lowercase letters
- Функция HaruFont::measureText() - Calculate the number of characters which can be included within the specified width
Коментарии
404 Not Found