Bug #3012
QTISCSv3x的ehmi界面脚本setobjcolor错误
Status:
Resolved
Priority:
Normal
Assignee:
-
Start date:
06/01/2023
Due date:
% Done:
0%
Estimated time:
Description
setobjcolor(255,0,0)错误设置成了0,255,0
setobjcolor(0,255,0)错误设置成了0,0,255
setobjcolor(0,0,255)错误设置成了0,0,0
Files
History
Updated by yufeng wu over 1 year ago
- Status changed from New to Resolved
脚本setobjcolor功能正常
使用时setobjcolor(255,0,0)设置红色,使用了3参数RGB,缺少了最后一个是否透明的参数,导致设置255,0,0RGB色错误
正确用法应该是setobjcolor(255,0,0,0)