• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 387 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0053 秒)

191. laya.ui.AutoBitmap [ 65%]

...绘制同样纹理。 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

192. 微信小游戏:HTMLDivElement的使用 [ 65%]

...码片段: var p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; var html = "<span color='#e3d26a'>使用</span>"; html += "<span style='color:#FFFFFF;font-weight:bold'>HTMLDivElement</span>"; html += "<span color='#6ad2e3'...

来源: Laya_社区 发布时间: 20180410

193. 显示文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

...1-3) 属性 功能说明 文本内容 text 文本的实际内容 字体 font 文本的字体名称,例如:Microsoft YaHei,这里可以手动输入常用的字体,还可以是位图字体 字体大小 fontSize 文本字体大小,例如: 50,直接填写正整数 单字符渲染 singleC...

来源: Laya3.0_文档 发布时间: 20251010

194. Label属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 64%]

...Label 组件用来显示一段文字,文字可以是系统字体或者 BMFont 字体。 ​ 点击资源面板里的 Label 组件,拖放到页面编辑区,即可添加 Label 组件到页面上。 ​ Label 组件的脚本接口请参考 [Label API](https://layaair2.ldc2.layabox.com/api2/Chines...

来源: Laya2.0_文档 发布时间: 20210715

195. 请问HtmlDivElement控件在innerHTML中有<div>标签的情况下获取实际宽高为0的问题? [ 64%]

...aragraph() { var p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; var html = "&lt;div&gt;" html += "&lt;span color='#e3d26a'&gt;使用&lt;/span&gt;"; html += "&lt;span style='color:#FFFFFF;font-weight:bold'&gt;HTMLDivElement&lt;/span&gt;"; html += "&l...

来源: Laya_社区 发布时间: 20170314

196. LayaNative 2.8.0 加载的TTF字体不生效,附复现工程。 [ 64%]

...App,操作更方便哦 望解答。           Laya.loader.load("fonts/OPPOSANS-H.ttf", Laya.Handler.create(this, (success) =&gt; {             console.log("2.8.0 字体加载是否成功:", success);             Laya.Text.defaultFont = "OPPOSANS-H";    ...

来源: Laya_社区 发布时间: 20201118

197. laya.ani.GraphicsAni_API3.0 [ 64%]

...llBorderText fillBorderText(text: string | WordText, x: number, y: number, font: string, fillColor: string, textAlign: string, lineWidth: number, borderColor: string): FillTextCmd Inherited from Graphics.fillBorderText Defined in laya/display/Graphics.ts:332 在画布上绘制“被填充且镶边...

来源: Laya3.0_api 发布时间: 20231115

198. laya.ui.AutoBitmap [ 64%]

...一组三角形 Graphics fillBorderText(text:String, x:Number, y:Number, font:String, fillColor:String, borderColor:String, lineWidth:Number, textAlign:String):FillBorderTextCmd 在画布上绘制“被填充且镶边的”文本。 Graphics fillText(text:String, x:Number, y:Number, font:String, c...

来源: Laya2.0_api 发布时间: 20190513

199. Label属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 64%]

...Label 组件用来显示一段文字,文字可以是系统字体或者 BMFont 字体。 ​ 点击资源面板里的 Label 组件,拖放到页面编辑区,即可添加 Label 组件到页面上。 ​ Label 组件的脚本接口请参考 [Label API](https://layaair2.ldc2.layabox.com/api2/Chines...

来源: Laya2.0_文档 发布时间: 20210714

200. HTMLIframeElement报错 [ 64%]

...      width: 300px;     height: 200px;     overflow:auto;     font-size:20px;     line-height:38px;     font-family:"微软雅黑";     color:#000;     text-align:justify;         text-justify:inter-ideograph;     -webkit-text-align-last:justify;/*chrome 20+*/     -m...

来源: Laya_社区 发布时间: 20180103