リファレンス textAscent()

textAscent()

現在のフォントの現在のサイズでのアセントを計算します。

アセントは、ベースラインより上の最も高い文字の距離をピクセル単位で表します。

実例

リターン

Number: ピクセル単位で測定されたアセント。
Notice any errors or typos? Please let us know. Please feel free to edit src/typography/attributes.js and open a pull request!

関連するリファレンス