大约有 38 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0028 秒)
...这种富文本(我下面上传图片了),需要字体 颜色 大小 加粗 。需要给运营人员(不懂代码)使用。laya自带的HTMLDivElement貌似每次编辑都需要修改代码里的内容
来源: Laya_社区 发布时间: 20180211
源码List的一次代码错误 下面加粗的两行,原意应该是利用删除的item,但是看定义arr上面定义的是局部变量。__proto._createItems = function (startY, numX, numY) { var box = this._content; var cell = this._getOneCell(); var cellWidth = cell.width + this._spaceX; v...
来源: Laya_社区 发布时间: 20180418
...url].url = url; map.push(url); } } delete _data.pics; 代码中斜线+加粗的代码则会去找版本号,并确定是否有需要添加的版本号,因为在ResourceManager的 public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) {...
来源: Laya_社区 发布时间: 20180415
...宽高 this.img.size(texture.width, texture.height); <!-- 我想把加粗部分换成 this.img.graphics.drawTexture(Laya.loader.getRes(imgUrl),100,50,60,60); 为什么就不起作用了,switchImg()只执行了一次,不能实现切换图片 --> } } new Main(); 2018-02-26 添...
来源: Laya_社区 发布时间: 20180226
...return channel; } AS 版本修改playSound方法如上,主要改动字体加粗部分;增加条件 loops != 0 (一般为0是背景音乐)排除背景音乐。 原因可能是laya播放音频时,焦点不在stage上,然后被!_isActive = false 这个条件return了。 版本 1.7.20 ...
来源: Laya_社区 发布时间: 20190115
文字在框内滑动、滚动文本 内容里加粗的部分如果知道是什么意思可以说一下 Laya.init(800,800,Laya.WebGL); creatText(); function creatText(){ this.txt=new Laya.Text(); this.txt.overflow=Laya.Text.SCROLL;//必须是SCROLL才能实现滑动 thi...
来源: Laya_社区 发布时间: 20170810
...================================================================= 上面加粗的代码 没理解透有谁 知道的就说说吧 2017-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 HummerMan 赞同来自:...
来源: Laya_社区 发布时间: 20170810
...this.txtarea.color = "#ff0000"; //字体颜色 this.txtarea.bold = true; //加粗 this.txtarea.italic = true; //斜体 this.txtarea.underline = true; //下划线 this.txtarea.underlineColor = "#ff0000"; //下划线颜色 this.txtarea.stroke = 5; //描边宽度 this.txtarea.strokeColor = "#000000" ; ...
来源: Laya3.0_文档 发布时间: 20251010
.../ interface ITextFormat { /** * 背景色 */ bgColor?: string; /** * 是否加粗 */ bold?: number; /** * 文本框背景色 */ borderColor?: string; /** * 文本颜色 */ color?: string; /** * 字体 */ font?: string; /** * 字体大小 */ fontSize?: number; /** * 是否为斜体 */ italic?: number...
来源: Laya_社区 发布时间: 20171226
...以修改laya.d3.js文件里的_innerDerivePhysicsTransformation方法,加粗部分为补丁: if (shapeOffset.x !== 0 || shapeOffset.y !== 0 || shapeOffset.z !== 0) { var physicPosition = PhysicsComponent._tempVector30; shapeOffset.x *= transform.g...
来源: Laya_社区 发布时间: 20191019