getGreen

getGreen

> 函数列表

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

参数
返回值