LoginSignup
0
0

More than 3 years have passed since last update.

P5.js 日本語リファレンス(p5.Font)

Last updated at Posted at 2020-06-21

このページでは「P5.js 日本語リファレンス」 の p5.Font を説明します。

p5.Font

説明文

フォントの基本クラス

構文

new p5.Font([pInst])

パラメタ

  • pInst
    P5:p5インスタンス(オプション)

Fields

  • font
    根本的なOpenTypeフォントの実装

Methods

  • textBounds()
    このフォントを使用して、指定されたテキスト文字列のタイトなバウンディングボックスを返します(現在は単一行のみをサポートしています)

  • textToPoints()
    指定されたテキストのパスをたどる点の配列を計算します

著作権

p5.js was created by Lauren McCarthy and is developed by a community of collaborators, with support from the Processing Foundation and NYU ITP. Identity and graphic design by Jerel Johnson.

ライセンス

Creative Commons(CC BY-NC-SA 4.0) に従います。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0