大约有 3 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0017 秒)
....onResize); } onBoyClick(e) { //点击后小人会放大缩小 let boy = e.target; if (boy.scaleX === 1) { boy.scale(1.2, 1.2); } else { boy.scale(1, 1); } } onTxtClick(e) { //点击后切换适配模式 e.stopPropagation(); index++; if (index >= modes.length) index = 0; Laya.stage.scaleMode = modes...
来源: Laya2.0_示例 发布时间: 20241123
...ind(){ return this.scrollBarIsStop; } onListMouse(e, index){ console.log(e.target.name); if (e.type == Event.MOUSE_DOWN) { this.mouseDown = true; //如果单元格已经展开,则先恢复 if (this.itemIsOpen) { this.itemIsOpen = false; this.itemOpenId = -1; Tween.to(this.openedItem, { "x": 0 }, 5...
来源: Laya2.0_示例 发布时间: 20241123
...idth,this.drawSp.height,"#ff0000"); } private _onclick(e:Event){ switch (e.target.name) { case this.nameArr[0]: var base64Url:string = this._canvas.toDataURL("<em>imageem>/png",1); this.draw<em>Imageem>.skin = base64Url; break; case this.nameArr[1]: var text:Texture = Laya.stage.drawToTexture(Browser.clientWidth,...
来源: Laya2.0_示例 发布时间: 20241123