大约有 80 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
Laya_社区(37) Laya3.0_文档(8) Laya2.0_api(8) Laya3.0_api(8) Laya2.0_文档(7) laya_api(6) Laya_示例(3) Laya2.0_示例(3)
...tName.color = "#FFFFFF"; this.txtName.text = this.playerName; this.txtName.fontSize = 18; this.txtName.font = "Arial"; this.txtName.bold = true; this.txtName.align = "left"; Laya.stage.addChild(this.txtName); //设置其他玩家角色名称跟随角色模型 var currPosition2:Laya.Vector3 = new Lay...
来源: Laya_社区 发布时间: 20171010
...题 var title = new laya.display.Text(); title.text = g_game_title; title.font = "Arial"; title.fontSize = 50; title.stroke = 2; title.strokeColor = "Black"; title.pos(g_stat_width / 2 - title.width / 2, 40); Laya.stage.addChild(title); // 设定版权信息 var copyright = new laya.display.Text(); ...
来源: Laya_社区 发布时间: 20160623
... var html = "<span style='visibility:hidden;color:#FFFFFF;font-weight:bold'>HTMLDivElement</span>"; p.innerHTML = html; } function showExternalHTML() { var p = new HTMLIframeElement(); ...
来源: Laya_社区 发布时间: 20170315
...rld"; //设置文本颜色 txt.color = "#ffffff"; //设置文本字体 txt.font = "Ya Hei"; //设置字体大小 txt.fontSize = 32; //设置文本取背景 txt.bgColor = "#c30c30"; //设置文本框的颜色 txt.borderColor = "#23cfcf"; //设置粗体、斜体 txt.bold = true; //设置斜体 txt.ita...
来源: Laya2.0_文档 发布时间: 20210715
..._WHEEL, this, this.onMousewheel); } this.createText = function (_content, _fontSize, _color, _width, _autoSize, _wordWrap, _ID) { var txt = new Text(); txt.text = _content; txt.cacheAs = 'bitmap'; txt.fontSize = _fontSize; txt.bold = true; txt.font = 'wordFont'; txt.color = _color; txt.strokeColor =...
来源: Laya_社区 发布时间: 20161118
...i.size(300, 50); ti.sizeGrid = "0,40,0,40"; ti.font = "Arial"; ti.fontSize = 30; ti.bold = true; ti.color = "#606368"; Laya.stage.addChild(ti); return ti; } })(); 附件 : --> TSET.zip 2019-08-14...
来源: Laya_社区 发布时间: 20190814
... filters : Array滤镜集合。可以设置多个滤镜组合。Sprite font : String 文本的字体名称,以字符串形式表示。 默认值为:"Arial",可以通过Font.defaultFont设置默认字体。 如果运行时系统找不到设定的字体,则用系统默认的字体渲染文...
来源: laya_api 发布时间: 20170929
...extInput.color = "#008fff";//设置 textInput 的文本颜色。 textInput.font = "Arial";//设置 textInput 的文本字体。 textInput.bold = true;//设置 textInput 的文本显示为粗体。 textInput.fontSize = 30;//设置 textInput 的字体大小。 textInput.wordWrap = true;//设置 textIn...
来源: Laya3.0_api 发布时间: 20231115
... textArea.color = "#008fff";//设置 textArea 的文本颜色。 textArea.font = "Arial";//设置 textArea 的字体。 textArea.bold = true;//设置 textArea 的文本显示为粗体。 textArea.fontSize = 20;//设置 textArea 的文本字体大小。 textArea.wordWrap = true;//设置 textArea 的...
来源: Laya3.0_api 发布时间: 20231115
...xt = new Laya.Text(); this.displayText.color = "#ffffff"; this.displayText.font = "Arial"; this.displayText.fontSize = 24; this.displayText.bold = true; this.displayText.x = 10; // 例如,设置在屏幕左上角 this.displayText.y = 10; this.owner.scene.addChild(this.displayText); // 在场景中...
来源: Laya3.0_文档 发布时间: 20251010