大约有 125 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)
Laya_社区(59) Laya2.0_文档(14) Laya3.0_api(11) Laya2.0_示例(9) Laya2.0_api(9) Laya_示例(9) Laya3.0_文档(8) laya_api(6)
... //设置为粗体 txt.bold = true; //设置文本的显示起点位置X,Y txt.pos(60, 100); //设置舞台背景色 ...
来源: Laya2.0_文档 发布时间: 20210715
...员之乱"; copyright.font = "Arial"; copyright.fontSize = 20; copyright.bold = true; copyright.pos(20, g_stat_heiht - 35); copyright.on(Laya.Event.CLICK, this, function() { window.location.href = "http://www.coderluan.com"; }); Laya.stage.addChild(copyright); 3.设置积分板和开始菜单 右下...
来源: Laya_社区 发布时间: 20160623
...xt = new Text(); txt.text = "适配模式("+Laya.stage.scaleMode+") "; txt.bold = true; txt.pos(10, 350); txt.fontSize = 60; txt.color = "#fff000"; Laya.stage.addChild(txt); } } } 附件 : --> LayaAir1_7_beta.rar 2017-02-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20170228
...splayText.font = "Arial"; this.displayText.fontSize = 24; this.displayText.bold = true; this.displayText.x = 10; // 例如,设置在屏幕左上角 this.displayText.y = 10; this.owner.scene.addChild(this.displayText); // 在场景中添加文本显示 } onUpdate(): void { // 更新时间 this.dayT...
来源: Laya3.0_文档 发布时间: 20251010
...ultSize = 36; Font.defaultFamily = "Arial"; //Arial 微软雅黑 DroidSans-Bold、DroidSansFallback Font.defaultFont = "36px Arial"; Laya.loader.load("data/Questv1_Regular.ttf", Handler.create(this,onLoaded), null, Loader.BUFFER); } private function onLoaded():void { var arr:ArrayBuffer=Lay...
来源: Laya_社区 发布时间: 20180705
... // 设置字体样式 inputText.bold = true; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; panel.addChild(inputT...
来源: Laya_社区 发布时间: 20180612
...,比如: style支持的属性如下: italic:true|false; 是否是斜体 bold:true|false; 是否是粗体 letter-spacing:10px; 字间距 font-family:宋体; 字体 font-size:20px; 字体大小 font-weight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体颜色 stroke:2px; 字...
来源: Laya2.0_api 发布时间: 20190513
...tring指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字。如果值为 true,则文本为粗体字。 Label borderColor : String 文本边框背景颜色,以字符串表示...
来源: laya_api 发布时间: 20170929
...tring指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字。如果值为 true,则文本为粗体字。 Label borderColor : String 文本边框背景颜色,以字符串表示...
来源: Laya2.0_api 发布时间: 20190513
...例对象 label 。 label.font = "Arial";//设置 label 的字体。 label.bold = true;//设置 label 显示为粗体。 label.leading = 4;//设置 label 的行间距。 label.wordWrap = true;//设置 label 自动换行。 label.padding = "10,10,10,10";//设置 label 的边距。 label.color = "#ff0...
来源: Laya3.0_api 发布时间: 20231115