大约有 125 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0030 秒)
Laya_社区(59) Laya2.0_文档(14) Laya3.0_api(11) Laya2.0_示例(9) Laya2.0_api(9) Laya_示例(9) Laya3.0_文档(8) laya_api(6)
... 请问下 现在字体是不是不支持设置字体的粗细 只有一个bold 但是如果这个不满意 难道写个文字还得专门去搞个图片?这有点不合理吧 2017-04-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20170428
...t(); html.innerHTML = "<span style='font-weight:bold; font:24px SimHei' color='#ff0000'>欢迎你的加入</span>" +"<span style='font-weight:bold; font:24px Arial' color='#ff0000'>欢迎你的加入</span>"; ...
来源: Laya_社区 发布时间: 20180303
...xt.fontSize = 40; txt.font = "Microsoft YaHei"; txt.color = "#ff0000"; txt.bold = true; txt.leading = 5; //设置描边属性 txt.stroke = 2; txt.strokeColor = "#ffffff"; txt.borderColor = "#00ff00" txt.x = (Laya.stage.width - txt.textWidth) / 2; txt.y = (Laya.stage.height - txt.textHeight) / 2; Lay...
来源: Laya_示例 发布时间: 20251130
...ment span标签嵌套问题 <span style='color:#c28869; size:14px; face:bold 14px Arial; bold:true; italic:false; align:left; vertical-align:middle '> <span style='color:#ff7700'>绵羊重击</span> :充能后再使用跳跳羊,获得额外 <span style='color:#ff7700'>20%...
来源: Laya_社区 发布时间: 20180625
...xt.fontSize = 40; txt.font = "Microsoft YaHei"; txt.color = "#ff0000"; txt.bold = true; txt.leading = 5; //设置描边属性 txt.stroke = 2; txt.strokeColor = "#ffffff"; txt.borderColor = "#00ff00"; txt.x = (Laya.stage.width - txt.textWidth) / 2; txt.y = (Laya.stage.height - txt.textHeight) / 2; } ...
来源: Laya2.0_示例 发布时间: 20251130
... txt.text = "适配模式("+modes+") "; txt.bold = true; txt.pos(10, 350); txt.fontSize = 60; txt.color = "#fff000"; Laya.stage.addChild(txt); })(); })(); ``` ### 二、fixedheight模...
来源: Laya2.0_文档 发布时间: 20200307
...rue|false; 是否是斜体 * bold:true|false; 是否是粗体 * letter-spacing:10px; 字间距 * font-family:宋体; 字体 ...
来源: Laya_社区 发布时间: 20190815
...{ var t = new Text(); t.text = text; t.fontSize = 30; t.color = "white"; t.bold = true; t.pivot(t.width / 2, t.height / 2); t.pos(x, y); Laya.stage.addChild(t); return t; } function animateTimeBased() { rotateTimeBasedText.rotation += 1; } function animateFrameRateBased() { rotateFrameRateBasedText....
来源: Laya_示例 发布时间: 20251130
...t.marketdlg.default"); this._goldLabel.font = font.family; this._goldLabel.bold = (parseInt(font.bold | 0) == 0 ? false : true); this._goldLabel.fontSize = parseInt(font.size); this._goldLabel.underline = (parseInt(font.underline | 0) == 0 ? false : true); this._goldLabel.align = "center"; this._gol...
来源: Laya_社区 发布时间: 20170422
...; let t = new Text(); t.text = text; t.fontSize = 30; t.color = "white"; t.bold = true; t.pivot(t.width / 2, t.height / 2); t.pos(x, y); Laya.stage.addChild(t); return t; } animateTimeBased() { this.rotateTimeBasedText.rotation += 1; } animateFrameRateBased() { this.rotateFrameRateBasedText.rotation...
来源: Laya2.0_示例 发布时间: 20251130