Canvas的获取上下文的context()方法和getContext('2d')有什么区别?
var ctx1 = can1.getContext('2d'), ctx2 = can2.getContext('2d'); or var ctx1 = can1.context(), ctx2 = can2.ccontext();
var ctx1 = can1.getContext('2d'), ctx2 = can2.getContext('2d'); or var ctx1 = can1.context(), ctx2 = can2.ccontext();
2015-10-01
举报