大约有 162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0051 秒)
Laya_社区(133) Laya3.0_文档(8) Laya2.0_文档(7) Laya_示例(4) Laya3.0_api(4) Laya2.0_示例(4) laya_api(1) Laya2.0_api(1)
...ndChild(videoElement); // 设置Video元素地样式和属性 videoElement.style.zIndex = Laya.Render.canvas.style.zIndex + 1; videoElement.src = "res/av/mov_bbb.mp4"; videoElement.controls = true; // 阻止IOS视频全屏 videoElement.setAttribute("webkit-playsinline", true); videoElement.setAttrib...
来源: Laya2.0_示例 发布时间: 20260819
...ut")');('file.type = "file"'); ('document.body.appendChild(file)'); ('file.style.zIndex = 999999'); ('file.style.position = "absolute"'); ('file.style.top = 20'); ('document.body.appendChild(file);') [IF-SCRIPT-END]*/ 2016-02-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...
来源: Laya_社区 发布时间: 20160216
...以进行测试检验 <!DOCTYPE html> <html> <head> <style> div { margin:30px; width:100px; height:100px; background-color:yellow; -webkit-transform-origin: 0 0; /* Safari 和 Chrome */ -webkit-transform:skew(0,110deg); /* Safari 和 Chrome */ } </style> </head> &...
来源: Laya_社区 发布时间: 20160815
...引擎的代码后就没有问题 这一行改为 (ele = (childs[i]))._style && (ele=(childs [i]))._style.visible && ele.render(context,x,y); 这样就没有问题 附件 : --> 2018-04-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20180415
...ndChild(videoElement); // 设置Video元素地样式和属性 videoElement.style.zInddex = Laya.Render.canvas.style.zIndex + 1; var html = '<source src="rtmp://rtmp.open.ys7.com/openlive/2245d47a94b54c73bdbc628a10855c50" type="" /><source src="http://hls.open.ys7.com/openli ... ot%3B type="...
来源: Laya_社区 发布时间: 20171031
...DOCTYPE html> <html> <head> <title></title> <style type="text/css"> .p1{font-family:"Arial bold"; color: #583823;font-size: 25px} .p2{font-family:"Times New Roman";color: #583823;font-size: 25px} .p3{font-family:"Arial Black";color: #583823;font-size: 25px} .p4{font-...
来源: Laya_社区 发布时间: 20180629
...riends+"/99" var iframe = Browser.document.createElement("iframe"); iframe.style.position ="absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left =pt.x+"px"; iframe.style.top =pt.y+"px"; iframe.src = "target-div.html"; Browser.document.getElem...
来源: Laya_社区 发布时间: 20180626
...calculateCacheRect(sprite, tCacheType, x, y) { var _cacheStyle = sprite._cacheStyle; if (!_cacheStyle.cacheRect) _cacheStyle.cacheRect = Rectangle.create(); var tRec; if (tCacheType === "bitmap") { ...
来源: Laya_社区 发布时间: 20210615
...meta charset="UTF-8"> <title>Document</title> <style type="text/css"> html,body{overflow: hidden;} *{margin: 0; padding: 0;} #layaContainer{overflow: hidden;} </style> </head> <body> <script src='js/libs/laya.core.js'></script> &...
来源: Laya_社区 发布时间: 20170928
...代码__proto.renderSelfToGraphic=function(graphic,gX,gY,recList){ var cssStyle=this.style; var words=this._getWords(); var i=0,len=0; if (words){ len=words.length; var a; if (cssStyle){ var font=cssStyle.font; var color=cssStyle.color; if (cssStyle.stroke){ var stroke=cssStyle.stroke; stroke=parseI...
来源: Laya_社区 发布时间: 20190611