大约有 380 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
Laya_社区(345) Laya3.0_文档(11) Laya2.0_文档(7) Laya3.0_api(5) Laya2.0_示例(4) Laya_示例(4) laya_api(2) Laya2.0_api(2)
...ndChild(videoElement); // 设置Video元素地样式和属性 videoElement.style.zInddex = Render.canvas.style.zIndex - 1; videoElement.src = "mp4/ship.mp4"; //videoElement.autoplay="autoplay" videoElement.preload = "preload"; videoElement.setAttribute("x5-video-player-type", "h5"); videoElement.set...
来源: Laya_社区 发布时间: 20171222
...gt;<canvas id="layaCanvas" width="1920" height="181" class="layaCanvas" style="position: absolute; left: 0px; top: 0px; background: rgb(0, 0, 0); transform-origin: 0px 0px 0px; transform: matrix(1, 0, 0, 1, 0, 0); width: 100%; height: 100%; display: block;"></canvas></div> 目前la...
来源: Laya_社区 发布时间: 20180124
...); } private function onClick(event:Event):void{ Render._mainCanvas.source.style.left = "100px"; Render._mainCanvas.source.style.top = "100px"; trace("onClick"); } } } 就这么一段简单的代码,求指点怎么改变位置后不改变点击区域 2017-12-26 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20171226
...d 赞同来自: protected function _frameLoop():void { if (_style.visible && _style.alpha > 0.01) { this.index = _index, _index++; if (this._index >= this._count) { if (loop) this._index = 0; else { _index--; stop(); } event(Event.COMPLETE); } } } 这里刚开始渲染...
来源: Laya_社区 发布时间: 20160714
...ox.com/question/6504 很类似。 Render._mainCanvas.source.style.left = "300px"; Render._mainCanvas.source.style.top = "300px"; 这个也不是很好使! 2018-09-11 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20180911
字体渲染问题 在webGL渲染模式下 采用 <style> @font-face { font-family : im1; src : url('123.ttf'); } </style> 这种方式渲染 字体会出现渲染异常 附件 : --> layaTest.1_.7_.14beta_.rar 2018-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20180117
...会出现同样bug,请看下面图片 HTMLDivElement内容:<span style='font:22px SimHei' color='#ffffff'>啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</span> 附件 : --> 2019-09-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20190921
...value)._color; } else { _wgColor = null; } } if (value) { Render.canvas.style.background = value; } else { Render.canvas.style.background = "none"; } } 但要如何用呀,试过 Laya.stage.bgColor = null; Laya.stage.bgColor = "null"; 都没效果 2018-06-07 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20180607
...startY = this._height - visibleLineCount * lineHeight - padding[2]; }; var style = this._style; if (tCurrBitmapFont && tCurrBitmapFont.autoScaleSize) { var bitmapScale = tCurrBitmapFont.fontSize / this.fontSize; } if (this._clipPoint) { graphics.save(); if (tCurrBitmapFont && tCurrBi...
来源: Laya_社区 发布时间: 20180417
...是遮盖住UI按钮,请问应该怎么处理下? 修改过 myVideo.style.zInddex = Laya.Render.canvas.style.zIndex + 2;和按钮的层级,都没有效果。谢谢了。。。 附件 : --> 2018-04-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20180403