大约有 74 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
... var lineWidth=this._lineWidths[lineIndex]; switch (align){ case 'center': x-=lineWidth / 2; break ; case 'right': ...
来源: Laya_社区 发布时间: 20171019
...e')this._prePoint.x=this._prePoint.y=-1000000; switch (evt.type){ case 'mousedown': this._touchIDs[0]=this._id++; if (!MouseManager._isTouchRespond){ ...
来源: Laya_社区 发布时间: 20170614
...Label(e:String):void//e: 返回一个String,值为addLabel的标签名 { switch(e) { case "label01":trace("我是标签1"); break; case "label02":trace("我是标签2"); break; case "label03":trace("我是标签3"); break; default: break; } } } } 附件 : --> SwfLabelUse.rar 2017-07-05 添加评...
来源: Laya_社区 发布时间: 20170705
...调函数:获取GPS坐标失败后 function cb_onGeoPositionFail(error) { switch (error.code) { case Laya.Geolocation.PERMISSION_DENIED: alert("位置服务被拒绝,请检查您的GPS和定位设置"); break; case Laya.Geolocation.POSITION_UNAVAILABLE: alert("暂时获取不到位置信息"); bre...
来源: Laya_社区 发布时间: 20161102
...tText.prototype; _proto.init = function () { switch (this.style) { case style.VERTICAL: gradientStyle = VERTICAL_GRADIENT + '>'; break; case style.HORIZONTAL: ...
来源: Laya_社区 发布时间: 20180824
... if (property instanceof Material) { switch (node.type) { case KeyFrameValueType.Float: property = property.getFloat(node.getPropertyByIndex(i)); ...
来源: Laya_社区 发布时间: 20240517
...d { let oldChannel: Laya.SoundChannel | undefined; switch (type) { case SoundType.Effect: oldChannel = this.effectChannels.get(url); break; case SoundType.Dialogue: old...
来源: Laya_社区 发布时间: 20250930
...e = 100; Laya.stage.addChild(panel); // 0为说明 1为排行 内容部分 switch(num){ case 0: panel.addChild(_this.descriptionContent()); // 说明 内容 break; case 1: panel.addChild(_this.rankingContent()); // 排行榜 break; } } 附件 : --> 2018-03-31 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20180331
...tage.scaleMode != "noscale") { scaleY = divH / desH; scaleX = divW / desW; switch (Laya.stage.scaleMode) { case "noborder": if (scaleX > scaleY) { scaleY = scaleX; } else { scaleX = scaleY; } break; case "showall": if (scaleX < scaleY) { scaleY = scaleX; } else { scaleX = scaleY; } break; case...
来源: Laya_社区 发布时间: 20171205
...seEvent"); trace("e "+e.target); switch (e.type) { case Event.MOUSE_DOWN: trace("press"); e.target.startDrag(); ...
来源: Laya_社区 发布时间: 20170517