色のアルファ(透明度)値を取得します。
alpha()はp5.Colorオブジェクト、色成分の配列、または CSS色文字列からアルファ値を抽出します。
実例
シンタックス
alpha(color)
パラメーター
color
p5.Color|Number[]|String:
p5.Colorオブジェクト、色成分の配列、 またはCSS色文字列。
リターン
Number: アルファ値。
This page is generated from the comments in src/color/creating_reading.js . Please feel free to edit it and submit a pull request!