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

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

31. 文本进阶使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...值,也可以把所有相关的文本样式(大小、字体、斜体、加粗)也在这里指定。 例如,当值为 60px simHei ,是将文本大小设置为60像素大小,采用simHei字体。如下图1-1所示: (图1-1) 值为60px simHei italic 增加了斜体效果。如下图1-...

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

32. 一篇了解所有的LayaAir文本组件(TypeScript-LayaAir基础篇(TS)-文本) [ 44%]

...值,也可以把所有相关的文本样式(大小、字体、斜体、加粗)也在这里指定。 例如,当值为 `60px simHei` ,是将文本大小设置为60像素大小,采用simHei字体。如下图所示: ![图2](img/1-3-2.png) 值为`60px simHei italic` 增加了斜体效果。...

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

33. 复选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...的字体 标签字体大小 labelSize 文本标签的字体大小 标签加粗 labelBold 文本标签是否为粗体,默认为false 标签状态颜色 labelColors 鼠标在鼠标移出(up)、鼠标悬停(over),鼠标按下(down)时,各个状态下的文本标签颜色 标签垂直...

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

34. laya2.0版本,富文本HTMLDivElement中<p>标签里使用<br />标签时报错,在<span>里也不行 [ 41%]

...ps://ask.layabox.com/question/38811   希望官方能帮忙解决一下,加粗的是重点,其他都可以缓缓,非常感谢官方人员~     其他附加问题: 1.富文本的超链接多行的话,下划线显示问题,根据http://ask.layabox.com/question/42754然后自己扩展一...

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

35. 显示文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

...大小 this.lab.color = "#ff0000"; //字体颜色 this.lab.bold = true; //加粗 this.lab.italic = true; //斜体 this.lab.underline = true; //下划线 this.lab.underlineColor = "#ff0000"; //下划线颜色 this.lab.stroke = 5; //描边宽度 this.lab.strokeColor = "#000000" ; //描边颜色 this.l...

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

36. 输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...小 this.txtin.color = "#ff0000"; //字体颜色 this.txtin.bold = true; //加粗 this.txtin.italic = true; //斜体 this.txtin.underline = true; //下划线 this.txtin.underlineColor = "#ff0000"; //下划线颜色 this.txtin.stroke = 5; //描边宽度 this.txtin.strokeColor = "#000000" ; //描边...

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

37. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 28%]

...大小 this.txt.color = "#ff0000"; //字体颜色 this.txt.bold = true; //加粗 this.txt.italic = true; //斜体 this.txt.underline = true; //下划线 this.txt.underlineColor = "#ff0000"; //下划线颜色 this.txt.stroke = 5; //描边宽度 this.txt.strokeColor = "#000000" ; //描边颜色 this.t...

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

38. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 16%]

...参数总结 上文介绍了常用装饰器属性标识的参数作用(加粗为上文出现过的),这里我们概述总结一下全部的参数。 参数名 参数使用示例 说明 name name: "abc" 一般不需要设定 type type: "string" 组件属性可输入值的类型,参照上文...

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