0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

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

Last updated at Posted at 2020-05-03

このページでは[「P5.js 日本語リファレンス」] (https://qiita.com/bit0101/items/91818244dc26c767a0fe) の endShape関数を説明します。

endShape()

説明文

endShape() はbeginShape() とペアであり、beginShape() の後でのみ呼び出すことができます。 endShape() が呼び出されると、前回の beginShape() の呼び出し以降に定義されたすべての画像データが画像バッファに書き込まれます。定数 CLOSE は形状を閉じる(開始点と終了点を接続する)ための MODE パラメータ値である。

構文

endShape([mode])

パラメタ

mode
定数:CLOSE を使用して形状を閉じます(オプション)

著作権

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?