import { PublicConfigClass } from '../../../../../utils/PublicConfigClass'
import { TextBarrageConfig } from './basis'
import {cloneDeep} from 'lodash-es'

export const FontWeightObject = {
  "常规": 'normal',
  "加粗": 'bold',
}

export const option = {
  dataset: '让数字化看得见',
  fontSize: 32,
  fontColor: '#ffffff',
  fontWeight: 'normal',
  // 字间距
  letterSpacing: 5,
  //阴影
  showShadow:  true,
  boxShadow: 'none',
  hShadow: 0,
  vShadow: 0,
  blurShadow: 8,
  colorShadow: '#0075ff',
  //动画
  animationTime: 0,
  animationSpeed: 50,
}

export default class Config extends PublicConfigClass {
  key = TextBarrageConfig.key;
  chartConfig = cloneDeep(TextBarrageConfig);
  option = cloneDeep(option);
}
