getRed

getRed

> 函数列表

返回颜色 color 中的红色分量,取值在 0 到 255 之间。例如,getRed(COLOR_RED) = 255getRed(COLOR_BLUE) = 0

参数
返回值