実例 単語

単語

text() 関数は、キャンバスにテキストを挿入するために使用されます。 フォントとテキストサイズは、loadFont() および fontSize() 関数を使用して変更できます。 テキストは、textAlign() 関数を使用して左揃え、中央揃え、または右揃えが可能で、形状と同様にテキストはfill()で色を付けることができます。

Creative Commons BY-NC-SA license badge

単語: Revised by Kasey Lichtlyter. Edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.

You can find the code history of these examples here: 2023 code, pre-2023 code. You can suggest improvements by contributing to the current website!


関連する実例