色のアルファ(透明度)値を設定します。
範囲はcolorMode()に依存します。 デフォルトのRGBモードでは0から255の間です。
実例
シンタックス
setAlpha(alpha)
パラメーター
alpha
Number:
新しいアルファ値。
This page is generated from the comments in src/color/p5.Color.js . Please feel free to edit it and submit a pull request!