リファレンス textAscent()

textAscent()

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

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

実例

リターン

Number: ピクセル単位で測定されたアセント。
This page is generated from the comments in src/typography/attributes.js . Please feel free to edit it and submit a pull request!

関連するリファレンス