参考 textAscent()

textAscent()

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

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

示例

Notice any errors or typos? Please let us know. Please feel free to edit src/typography/attributes.js and open a pull request!

相关参考