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?

P5.js 日本語リファレンス(beginClip/endClip)

Posted at

このページではP5.js 日本語リファレンス の beginClip()〜endClip()を説明します。

beginClip()〜endClip()

説明文

endClip()以降で描画される内容の一部をマスクする(覆い隠す)ための形状を定義します。

構文

beginClip(options);
 ここにマスク形状を定義する
endClip();

パラメタ

  • options
    invert:false : マスク形状で覆い隠す(デフォルト)
    invert:true : マスクを反転する(falseで覆い隠していた部分のみを描画する)

戻り値

著作権

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?