Project

General

Profile

Bug #3012

QTISCSv3x的ehmi界面脚本setobjcolor错误

Added by yufeng wu over 1 year ago. Updated over 1 year ago.

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

CCWT.SVM (943 KB) CCWT.SVM yufeng wu, 06/12/2023 04:19 PM

History

#1

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)

#2

Updated by yufeng wu over 1 year ago

Also available in: Atom PDF