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

大约有 115 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0050 秒)

111. laya.display.Input_API3.0 [ 41%]

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

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

112. laya.ui.Label_API3.0 [ 37%]

...laya/ui/Label" Label Class Label Label 类用于创建显示对象以显示文本。 example 以下示例代码,创建了一个 Label 实例。 package { import laya.ui.Label; public class Label_Example { public function Label_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模...

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

113. laya.ui.TextInput_API3.0 [ 36%]

...put Class TextInput TextInput 类用于创建显示对象以显示和输入文本。 example 以下示例代码,创建了一个 TextInput 实例。 package { import laya.display.Stage; import laya.ui.TextInput; import laya.utils.Handler; public class TextInput_Example { public function TextInput_E...

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

114. laya.ui.TextArea_API3.0 [ 36%]

...tArea Class TextArea TextArea 类用于创建显示对象以显示和输入文本。 example 以下示例代码,创建了一个 TextArea 实例。 package { import laya.ui.TextArea; import laya.utils.Handler; public class TextArea_Example { public function TextArea_Example() { Laya.init(640, 800);...

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

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

...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