1. setChangedColor

设置变更的构件的覆盖颜色。

1.1. 参数说明:

名称 说明 类型 是否必填 示例
color 颜色 数字 number 值域(0x000000-0xffffff) 0x00ff00
opacity 不透明度 数字 number 值域(0-1,要求两位小数的精度) 0.50
返回值说明 类型 示例
NULL NULL NULL

1.2. 调用方式:

/**
* 设置变更的构件的覆盖颜色
*    @setChangedColor
*    @param {number} color 16进制颜色数值
*    @param {number} opacity 不透明度 0-1
*    @return {void}
*/
compare.setChangedColor(0x00ff00, 0.50);
版权所有@盈嘉互联(北京)科技有限公司 京ICP备15051988号-9 Copyright © 2021 all right reserved,powered by Gitbook该文件修订时间: 2021-12-20 09:58:36

results matching ""

    No results matching ""