大约有 375 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0049 秒)
...__proto.runEvent=function(){ var len=this._eventList.length; if (!len)return; var _this=this; var i=0; var localevnetList = this._eventList.slice(); this._eventList.length = ...
来源: Laya_社区 发布时间: 20170614
... if (words == null && (!this._children || this._children.length == 0)) return false; if (words) { for (var i = 0, n = words.length; i < n; i++) { out.push(words[i]); ...
来源: Laya_社区 发布时间: 20200724
...上才有 touches 属性 let touches = e.touches; if (touches && touches.length == 2) { preRadian = Math.atan2( touches[0].stageY - touches[1].stageY, touches[0].stageX - touches[1].stageX); Laya.stage.on(Event.MOUSE_MOVE, this, this.onMouseMove); } } onMouseMove(e) { let touches = e.touches; if (to...
来源: Laya2.0_示例 发布时间: 20241125
... function onMouseDown(e) { var touches = e.touches; if (touches && touches.length == 2) { preRadian = Math.atan2( touches[0].stageY - touches[1].stageY, touches[0].stageX - touches[1].stageX); Laya.stage.on(Event.MOUSE_MOVE, this, onMouseMove); } } function onMouseMove(e) { var touches = e.touches; ...
来源: Laya_示例 发布时间: 20241125
... this.WheelList.scrollBar.value=this.datas.length-1; // this.WheelList.tweenTo(this.datas.length,0); } else { this.WheelList.set_vi...
来源: Laya_社区 发布时间: 20201025
...) { //生成渲染结果到src._targets上 /* this._submits[this._submits._length++] = SubmitCanvas.create(src, 0, null); _curSubmit = SubmitBase.RENDERBASE; //画出src._targets //drawTexture(src._targets.target.getTexture(), x, y, width, height, 0, 0); */ //应用并清空canvas中的指令。如...
来源: Laya_社区 发布时间: 20210527
...split(''); for (var i:int = 0; i < splitArr.length; i++) { var te:Texture = _sources[splitArr[i]] as Texture; if (_align != "right") { this.graphics.drawText...
来源: Laya_社区 发布时间: 20170601
... = "#888"; // 用户什么也没输入则恢复默认状态 if (input.text.length == 0) { this._setPlaceHolder(input); // input.align = "right"; // input.type = "text"; } lable.color = "#888"; break; } } private _checkInput(input: Laya.TextInput) { let sp_icon: Laya.Sprite = new Laya.Sprite(); // ...
来源: Laya_社区 发布时间: 20200410
...上才有 touches 属性 let touches = e.touches; if (touches && touches.length == 2) { lastDistance = this.getDistance(touches); Laya.stage.on(Event.MOUSE_MOVE, this, this.onMouseMove); } } onMouseMove(e) { let distance = this.getDistance(e.touches); //判断当前距离与上次距离变化,确...
来源: Laya2.0_示例 发布时间: 20241125
... function onMouseDown(e) { var touches = e.touches; if (touches && touches.length == 2) { lastDistance = getDistance(touches); Laya.stage.on(Event.MOUSE_MOVE, this, onMouseMove); } } function onMouseMove(e) { var distance = getDistance(e.touches); //判断当前距离与上次距离变化,确定...
来源: Laya_示例 发布时间: 20241125