大约有 386 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
Laya_社区(274) Laya2.0_文档(23) Laya3.0_api(19) Laya2.0_api(17) Laya2.0_示例(15) Laya3.0_文档(14) Laya_示例(13) laya_api(11)
...进制类型,加载完成后返回arraybuffer二进制数据。Loader FONT : String = font[static] 位图字体类型,加载完成后返回BitmapFont,加载后,会根据文件名自动注册为位图字体。Loader groupMap : Object[static] 资源分组对应表。Loader HIERARCHY :...
来源: Laya2.0_api 发布时间: 20190513
ios里如何调用js方法 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #c41a16; background-color: #ffffff} span.s1 {color: rgba(0, 0, 0, 0.85)} span.s2 {color: #1c464a} span.s3 {color: #326d74} 1: [[conchRuntime GetIOSConchRuntime] runJS:@"window['Platforms'].onFailureVideoF...
来源: Laya_社区 发布时间: 20191227
... 2018-07-04 15:40 我是这么做的:(1)number.ttf放到工程laya/assets/fonts下面。(2)IDE切到编辑模式,按F5刷新,打开要编辑的UI,把要改的Label的字体改为number,就可以预览效果。(3)按F12刷新和输出到bin中,在游戏初始化加载时,加入Lay...
来源: Laya_社区 发布时间: 20180702
...西都还好,就是自定义字体这块,说的好简略。我先是用font-size方式在index.html里面引入字体,在webgl上能正常显示,但是导入到微信小游戏后,就不能正常显示了。 我看了官方的说明书,上面明说了ttf在微信的白皮书里面,为...
来源: Laya_社区 发布时间: 20180728
... = 'width:53px;height:27px'></img><span style = 'color:#ff8135;font:22px;valign:top'>[魏]幽州单稚然:sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss</span>" 2017-11-25 0 0 分享 微博 QZONE 微信 176*****233 赞同来自: 我也遇到过这样的问...
来源: Laya_社区 发布时间: 20171116
...var t = new Laya.Text(); t.height = this.rowHeight; t.valign = "middle"; t.fontSize = 15; t.font = "SimHei"; t.text = label; t.pos(x, y); this.form.addChild(t); } function createInputElement(){ var input = Laya.Browser.createElement("input"); input.style.zIndex = Laya.Render.canvas.zIndex + 1; input...
来源: Laya_示例 发布时间: 20251130
...llBorderText fillBorderText(text: string | WordText, x: number, y: number, font: string, fillColor: string, textAlign: string, lineWidth: number, borderColor: string): FillTextCmd Defined in laya/display/Graphics.ts:332 在画布上绘制“被填充且镶边的”文本。 Parameters text: string |...
来源: Laya3.0_api 发布时间: 20231115
...let t = new Laya.Text(); t.height = this.rowHeight; t.valign = "middle"; t.fontSize = 15; t.font = "SimHei"; t.text = label; t.pos(x, y); this.form.addChild(t); } createInputElement(){ let input = Laya.Browser.createElement("input"); input.style.zIndex = Laya.Render.canvas.zIndex + 1; input.style.wi...
来源: Laya2.0_示例 发布时间: 20251130
...Label 组件用来显示一段文字,文字可以是系统字体或者 BMFont 字体。 点击资源面板里的 Label 组件,拖放到页面编辑区,即可添加 Label 组件到页面上。 Label 组件的脚本接口请参考 [Label API](https://layaair2.ldc2.layabox.com/api2/Chines...
来源: Laya2.0_文档 发布时间: 20210714
...绘制同样纹理。 Graphics fillBorderText(text:*, x:Number, y:Number, font:String, fillColor:String, borderColor:String, lineWidth:Number, textAlign:String):void 在画布上绘制“被填充且镶边的”文本。 Graphics fillText(text:String, x:Number, y:Number, font:String, color:String,...
来源: laya_api 发布时间: 20170929