option = { graphic: { elements: [ { type: 'text', left: 'center', top: 'center', style: { text: '好粮好面 ', fontSize: 80, fontWeight: 'bold', lineDash: [0, 200], lineDashOffset: 0, fill: 'transparent', stroke: '#000', lineWidth: 1 }, keyframeAnimation: { duration: 3000, loop: true, keyframes: [ { percent: 0.7, style: { fill: 'transparent', lineDashOffset: 200, lineDash: [200, 0] } }, { // Stop for a while percent: 0.8, style: { fill: 'transparent' } }, { percent: 1, style: { fill: 'green' } } ] } } ] } };
ECHAR学习-Part1 文字特效
2022-12-01 08:08:57
浏览数 (2)