shadowColor

阴影颜色,默认值为rgba(0,0,0,0)

  ctx.shadowColor = '#00ffaa';

测验

颜色值支持的写法,例如: '#aabbcc' , 'HSL(120,100%,30%' , 'RGBA(90,20,10,0.3)' , 'red'

阴影相关属性shadowBlur shadowOffsetX shadowOffsetY

<<H5核心技术图形动画与游戏开发(David Geary)>> (60页)