上一页 1 ··· 27 28 29 30 31
摘要: 三者都是用来改变函数的this对象的指向的 fun.call(this,a,b); //相当于 this.fun(a,b) fun.apply(this,[a,b]); //相当于 this.fun(a,b); fun.bind(this); // 返回 this.fun fun.bind(this 阅读全文
posted @ 2016-11-13 23:44 gamedaybyday 阅读(458) 评论(1) 推荐(1)
摘要: 1 ShowAll 过长时,上边有边框 过短时,左右有边框 2 noScale 不会进行任何缩放。 下图是宽高 640x1136的场景 显示在浏览器414x736上 3 noBorder 过长时,裁减左右 过短时,裁减上下 4 fixedWidth 过长时,下方有边框 过短时,裁减下方 5 fixe 阅读全文
posted @ 2016-11-13 23:43 gamedaybyday 阅读(5943) 评论(1) 推荐(0)
上一页 1 ··· 27 28 29 30 31