#canvas 的 font 属性测试 {{currFont}}

#canvas 的 textBaseline 属性测试 {{currTextBaseLine}}

#canvas 的 textAlign 属性测试 {{currTextAlign}}

#canvas 的线条样式测试

butt round square miter round bevel

#canvas 的径向渐变(radialGradient)测试

, , , , , , ,

#canvas 的径向渐变(linearGradient)测试

, , ,

#canvas 的阴影样式测试

#canvas 的贝塞尔曲线(bezierCurveTo)测试

moveTo = {{bezierCurveTo.moveToX}},{{bezierCurveTo.moveToY}}
cp1 = {{bezierCurveTo.cp1X}},{{bezierCurveTo.cp1Y}}
cp2 = {{bezierCurveTo.cp2X}},{{bezierCurveTo.cp2Y}}
end = {{bezierCurveTo.endX}},{{bezierCurveTo.endY}}

#canvas 的二次贝塞尔曲线(quadraticCurveTo)测试

moveTo = {{quadraticCurveTo.moveToX}},{{quadraticCurveTo.moveToY}}
cp1 = {{quadraticCurveTo.cp1X}},{{quadraticCurveTo.cp1Y}}
end = {{quadraticCurveTo.endX}},{{quadraticCurveTo.endY}}

#canvas 的弧线(arc)测试

true 顺时针false 逆时针

#canvas 的椭圆(ellipse)测试

true 顺时针false 逆时针

#canvas 的变换(transform)测试

#canvas 的绘制图像(drawImage)测试

3 5 9
微信公众号-前端linong