Ets_Gui_Color_From_RGB()
注意: 需要 OPNET Development Kit
摘要
根据 RGB 规范返回一个颜色。
语法
Ets_Gui_Color_From_RGB (red, green, blue)
| 参数 | 类型 | 说明 |
|---|---|---|
red |
double |
红色分量,从 0.0 到 1.0。 |
green |
double |
绿色分量,从 0.0 到 1.0。 |
blue |
double |
蓝色分量,从 0.0 到 1.0。 |
返回类型
EtsT_Color
所请求的颜色。
头文件
ets_api_gui.h
详情
该函数根据 RGB(红、绿、蓝)规范创建颜色定义。生成的颜色可用于任何需要 EtsT_Color 参数的函数。