HaruFont::getCapHeight
(PECL haru:0.0.1)
HaruFont::getCapHeight — Get the distance from the baseline of uppercase letters
Описание
int HaruFont::getCapHeight
( void
)
Get the distance from the baseline of uppercase letters.
Список параметров
This function has no parameters.
Возвращаемые значения
Returns the distance from the baseline of uppercase letters.
Errors/Exceptions
Throws 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