Bug #2474
Debian10.12-QT平台-qEhgraph:函数关于图元颜色的设置和获取
Start date:
08/23/2022
Due date:
% Done:
100%
Estimated time:
Description
1.函数setmetacolor暂未生效,目前常用于电力专业中母线的变色;getmetacolor暂未生效;
2.函数setbarcolor在图元名省略的情况下不生效,手册中写明可省;
3.函数setrealsetcolor暂未生效;getrealsetcolor暂未生效;
Files
History
Updated by dj Li almost 2 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
1.setobjcolor(图元名,R,G,B,flag)
说明:图元名可省可不省;flag类似于不透明度,(flag:0,透明,不可见;flag:1,可见);可对文字、母线上色,矩形/椭圆等图元是对背景上色(不包括边框);
2.setmetacolor(图元名,R,G,B,flag)
说明:flag为是否着色,0:不着色,1:着色;可对母线上色
getmetacolor(图元名)
说明:返回值为flag,R,G,B=getmetacolor(图元名);未经setmetacolor上色获取的返回值是0,0,0,0;
3.setrealsetcolor(图元名,R,G,B,flag)
说明:flag为是否着色,0:不着色,1:着色;可对母线上色,对矩形/椭圆等图元是全部上色(包括边框+背景);
getrealsetcolor(图元名)
说明:返回值为flag,R,G,B=getrealsetcolor(图元名);未经setrealsetcolor上色获取的返回值是0,0,0,0;