大约有 13 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0046 秒)
...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
对游戏中各种控件字体样式使用“白鹭style”样式表 1.首先定义一个字体样式类和接口。 字体样式接口。 ITextFormat.ts/** * @User: liuliqianxiao * @Date: 2017/12/25 * @Time: 下午3:07 * @Desc: 这家伙很懒,什么都没留下…… **/ interface ITextFormat {...
来源: Laya_社区 发布时间: 20171226
...firmBtn); } this.newMask = document.createElement("div"); this.modlueDiv.style.visibility = "visible"; var clipboard = new ClipboardJS("#confirm", { text: function () { return str; } }) clipboard.on("success", function (e) { console.log("ok:") console.log(e) clipboard.destroy(); }) clipboard.o...
来源: Laya_社区 发布时间: 20181214
...rect[1], dt_w, dt_h)) : (ctx.getImageData(0, 0,dt_w, dt_h)); vivo下 getStyle 有时候莫名为空 13518行 getStyle() { this._style === SpriteStyle.EMPTY && (this._style = SpriteStyle.create()); if( this._style == null){ this._...
来源: Laya_社区 发布时间: 20191017
...加载图片,为啥执行到了这里。 莫名其妙的报错,this.getStyle()是null Error processing "launch": Error: 找不到文件: null 请设置文件配置文件属性runtimeExecutable Uncaught TypeError: Cannot read property 'load' of null 设置的UI元素运行时变为null了。 多...
来源: Laya_社区 发布时间: 20181207
...: var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML="<span style='font-weight:bold;" + "font:24px Arial' " + "color='red' " + "href='www.baidu.com'>" + "LayaBox</span><span>欢迎你的加入</span>" Laya.stage.addChild(div);2、获取Html文本的实际内容、...
来源: Laya_社区 发布时间: 20161027
...可以在layanative里显示出来 但是如果是innerHtml="<span style='color: #cfd4ff;font-size: 30px'>文字</span><br/><img src='../pic.png'/><span style='color: #cfd4ff;font-size: 30px'>文字</span>" 这样的组合话,就只显示文字了,...
来源: Laya_社区 发布时间: 20180106
...,比如:abc img:图片标签,比如: br:换行标签,比如:abcdef style:样式标签,比如:abc link:外链样式标签,可以加载一个css文件来当style使用,比如: style支持的属性如下: italic:true|false; 是否是斜体 bold:true|false; 是否是粗体 letter-spacing:10p...
来源: Laya3.0_api 发布时间: 20231102
...tw1Complete1)); 只要是设置scale值最终变为0就有问题,, var style=this.getStyle(); 这个获取的style是空的,,这个问题不是必现的,,,,, 附件 : --> 2018-03-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180315
...votY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender...
来源: Laya3.0_api 发布时间: 20231102