getRed

getRed

> 関数

色 color に含まれる赤の量を 0 から 255 の値で返します。たとえば getRed(COLOR_RED) = 255、getRed(COLOR_BLUE) = 0 です。

パラメータ
戻り値