大约有 6 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0020 秒)
... path.push(55, 32);//五角星D点 path.push(85, 130);//五角星E点 path.push(0, 73);//五角星F点 path.push(-85, 130);//五角星G点 path.push(-55, 32);//五角星H点 path.push(-137, -30);//五...
来源: Laya2.0_文档 发布时间: 20210715
...path.push(55, 32);//五角星D点坐标 path.push(85, 130);//五角星E点坐标 path.push(0, 73);//五角星F点坐标 path.push(-85, 130);//五角星G点坐标 path.push(-55, 32);//五角星H点坐...
来源: Laya2.0_文档 发布时间: 20210714
... path.push(55, 32);//五角星D点坐标 path.push(85, 130);//五角星E点坐标 path.push(0, 73);//五角星F点坐标 path.push(-85, 130);//五角星G点坐标 path.push(-55, 32);//五角星H点坐标 ...
来源: Laya2.0_文档 发布时间: 20210714
...渲染器 var Box = Laya.Box; var Image = Laya.Image; var WID = 373, HEI = 85; function Item() { Item.__super.call(this); this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); this.setImg = function(src) { this.img.skin = src; } } Laya.class(Item, "Item", Box); // 主要逻辑代码 ...
来源: Laya2.0_文档 发布时间: 20210714
...extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Image(); this.addChild(this.img); } public setImg(src: string): void { this.img.skin = src; } } } new laya.UI_List(); ```
来源: Laya2.0_文档 发布时间: 20210715
...static var WID:int = 375; /***单元格高***/ public static var HEI:int = 85; /***单元格中图片***/ public var img:Image; public function Item() { //设置大小宽高 size(WID, HEI); //实例化图片 img = new Image(); //加载到单元格中 addChild(img); } } ```
来源: Laya2.0_文档 发布时间: 20210715