Skip to content

色调 ​

注意

该方法回调为异步事件,请参考方法事件

方法名 ​

setFilterTint

用法 ​

js
this.$refs.refVideoPlayer.setFilterTint({
  //颜色值
  color: "#00FF00"
})
js
let options = {
  //颜色值
  color: "#00FF00"
};
let params : JSONObject = JSONObject.parse(JSON.stringify(options)) as JSONObject
refLevenPlayer.value?.setFilterTint(params);

参数说明 ​

参数名参数类型是否必填默认值参数描述
colorString是无颜色值