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

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

21. 论坛的简单跑酷地板间距疑问 [ 66%]

...试一下_带示例代码 分享,扩展Laya.Text组件实现简单的富文本 是不是充值成为VIP后在论坛中的提问官方才会有人回复 2.0下编译ts文件相关问题,论坛并没有明确的引入方案,小白就更不懂了 论坛发起问题须知,提高提问者以及...

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

22. 【简单跑酷--JS版】---Lv.6 终篇 [ 62%]

...g.GameWidth,Config.GameHeight,"#000000"); this.addChild(this.bg); //loading文本 this.txt = new Text(); this.txt.color = "#ffffff"; this.txt.fontSize = 30; this.txt.text = "Loading"; this.txt.width = Config.GameWidth; this.txt.align = "center"; this.txt.y = (Config.GameHeight - this.txt.height) * 0...

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

23. laya.display.Input_API3.0 [ 62%]

...nput" Input Class Input Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户点击输入时的文本的位置有少许的偏差。 Hierarchy Text Input Index Cons...

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

24. 水平滚动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

...rt class UI_HScrollBar extends Laya.Script { constructor() { super(); } // 文本组件,用于显示滚动条的value值 public text: Laya.Text; // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { // 创建文本组件 this.text ...

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

25. 垂直滚动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

...rt class UI_VScrollBar extends Laya.Script { constructor() { super(); } // 文本组件,用于显示滚动条的value值 public text: Laya.Text; // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { // 创建文本组件 this.text ...

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

26. laya.ui.TextArea [ 62%]

...entDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居...

来源: laya_api 发布时间: 20170929

27. laya.ui.TextArea [ 61%]

...entDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中...

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

28. laya.display.Input [ 60%]

... EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户点击输入时的文本的位置有少许的偏差。 Public Properties Hide Inherite...

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

29. laya.ui.ComboBox [ 60%]

...表项标签的字体大小。 ComboBox  labelBold : Boolean 表示按钮文本标签是否为粗体字。 ComboBox  labelColors : String 获取或设置对 ComboBox 组件所包含的 Button 组件的文本标签颜色。 格式:upColor,overColor,downColor,disableColor ComboBox  labelFont :...

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

30. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 60%]

...制作与使用 > author : charley update: 2020-11-13 当我们常规使用文本时,通常采用系统的字体。而位图字体,可以理解为是一种图片的字体。 所以,位图字体的本质是位图,通过位图的形式去表现字体效果,这样不仅会更美观,还可...

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