大约有 69 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0031 秒)
...) => { this.showDialog("注册功能暂未开放") }); } showDialog(context: string) { // if (this.normalDialog) { // this.normalDialog.close(); // } this.normalDialog = new NormalDialog(context); this.normalDialog.popup(true, true); Laya.stage.addChild(this.normalDialog); } } // ...
来源: Laya_社区 发布时间: 20181216
... I/art: at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636) 2019-07-22 18:03:33.840 27966-27966/com.lovegame.hk.hokbok I/art: at void android.webkit.WebView.<init>(android.content.Con...
来源: Laya_社区 发布时间: 20190103
...果出错 FrustumCulling._traversalCulling=function(camera,scene,context,renderList){ var validCount=renderList.length; var renders=renderList.elements; var boundFrustum=camera.boundFrustum; var camPos=camera._transform.position...
来源: Laya_社区 发布时间: 20190711
...可能是什么问题呢? 引擎版本号 1.7.12beta, 有提示WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost。 2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 wudi199553 赞同来自: 这个...
来源: Laya_社区 发布时间: 20171124
...器,用来盛放画布的容器。方便对画布进行控制Browser context : Context[static] 全局画布上绘图的环境(非主画布)。 Browser document : *[static] [read-only] 浏览器原生 document 对象的引用。Browser height : Number[static] [read-only] 浏览器窗...
来源: laya_api 发布时间: 20170929
... Browser Index Properties PLATFORM_ANDROID PLATFORM_IOS PLATFORM_PC canvas context onAlipayMiniGame onAndroid onBDMiniGame onBLMiniGame onChrome onEdge onHWMiniGame onIE onIOS onIPad onIPhone onKGMiniGame onMQQBrowser onMac onMiniGame onMobile onPC onQGMiniGame onQQBrowser onQQMiniGame onSafari onTB...
来源: Laya3.0_api 发布时间: 20231115
...vas.size(width, height); Browser.canvas.clear(); Browser.context.drawTexture(this, -x, -y, this.width, this.height, 0, 0); var info:* = Browser.context.getImageData(0, 0, width, height); } return info.data; } 这个方法在打包APP后就会报错,错误是...
来源: Laya_社区 发布时间: 20171030
...nt.createElement("canvas"); canvas.width = 1024; canvas.height = 1024; let context: CanvasRenderingContext2D = canvas.getContext("2d"); context.putImageData(imageData, 1024, 1024); let img: HTMLImageElement = new Image(); img.src = canvas.toDataURL("image/png"); 2018-01-17 添加评论 免费帖 ...
来源: Laya_社区 发布时间: 20180117
...dth;这行里measureResult这个为undefined, 而measureResult是Browser.context.measureText(_testWord)这样子来的, 所以这个measureText方法可能返回空值吗? 上下文: /** * @private * 分析文本换行。 */ protected function parseLines(text:String):void { //自动换行...
来源: Laya_社区 发布时间: 20190213
...rawRankList(data) { data.forEach((item, index) => { // context.drawImage(item.avatarUrl, 0, 0, 200, 400); // var image1 = wx.createImage() // image1.src = item.avatarUrl // context.drawImage(image1, 0, 0, 80 * index, 80) var image = new Lay...
来源: Laya_社区 发布时间: 20180516