getContext('2d'); ctx.font = '2em 微软雅黑'; //只有设置字体样式(微软雅黑)后,大小才会生效。 /* * 设置文字的水平对其方式: * ctx.textAlign = 'left || start' ...
確定! 回上一頁