参考 textAscent()

textAscent()

以字体当前大小来计算当前字体的上升量。

上升代表最高字符的距离,以像素为单位,高于基线。

示例

返回值

数字: 以像素为单位测量的上升值。
This page is generated from the comments in src/typography/attributes.js . Please feel free to edit it and submit a pull request!

相关参考