• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • HaruFont::getCapHeight()

    (PECL haru >= 0.0.1)

    Get the distance from the baseline of uppercase letters

    说明

    HaruFont::getCapHeight(void): int

    Get the distance from the baseline of uppercase letters.

    参数

    此函数没有参数。

    返回值

    Returns the distance from the baseline of uppercase letters.

    错误/异常

    发生错误时抛出HaruException异常。