リファレンス textWidth()

textWidth()

与えられた文字列の幅を計算します。

実例

シンタックス

textWidth(str)

パラメーター

str
String:

幅を計算する文字列

リターン

Number: 文字列の幅
This page is generated from the comments in src/typography/attributes.js . Please feel free to edit it and submit a pull request!

関連するリファレンス