現在のフォントのサイズをピクセル単位で設定します。
このサイズは、text() 関数で描画されるすべてのテキストに使用されます。 フォントサイズは、ベースラインから文字の最上部までの距離として測定されます。
実例
シンタックス
textSize(size)
パラメーター
size
Number:
テキストのサイズ(ピクセル単位)
This page is generated from the comments in src/typography/attributes.js . Please feel free to edit it and submit a pull request!