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

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

1. laya.ui.Label_API3.0 [ 100%]

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

2. laya.ui.TextInput_API3.0 [ 95%]

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

3. laya.ui.TextArea_API3.0 [ 95%]

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

4. laya.ui.CheckBox_API3.0 [ 81%]

...方框内可以有选中标记。 CheckBox 组件还可以显示可选文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时默认属性是:selected。 example 以下示例代码,创建了一个 CheckBox 实例。 package { import laya.ui.CheckBox; i...

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

5. laya.ui.Button_API3.0 [ 80%]

...on Button 组件用来表示常用多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 * 可以是单态,两态和三态,默认三态(up,over,down)。 example 以下示例代码,创建了一个 Button 实例。 package { import laya.ui.Button; import laya.util...

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

6. laya.ui.Radio_API3.0 [ 79%]

...void Inherited from Button.label Defined in laya/ui/Button.ts:425 按钮文本内容。 Returns string Inherited from Button.label Defined in laya/ui/Button.ts:429 按钮文本内容。 Parameters value: string Returns void labelAlign get labelAlign(): string set labelAlign(value: string): voi...

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

7. laya.ui.Tree_API3.0 [ 76%]

...Defined in laya/ui/UIComponent.ts:281 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式鼠标提示和参数携带等。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.tool...

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

8. laya.ui.RadioGroup_API3.0 [ 75%]

...rited from UIGroup.labelBold Defined in laya/ui/UIGroup.ts:395 表示按钮文本标签是否为粗体字。 Returns boolean Inherited from UIGroup.labelBold Defined in laya/ui/UIGroup.ts:399 表示按钮文本标签是否为粗体字。 Parameters value: boolean Returns void labelColors get labelCo...

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

9. laya.ui.Tab_API3.0 [ 74%]

...rited from UIGroup.labelBold Defined in laya/ui/UIGroup.ts:395 表示按钮文本标签是否为粗体字。 Returns boolean Inherited from UIGroup.labelBold Defined in laya/ui/UIGroup.ts:399 表示按钮文本标签是否为粗体字。 Parameters value: boolean Returns void labelColors get labelCo...

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

10. laya.ui.ComboBox_API3.0 [ 73%]

...lue: string): void Defined in laya/ui/ComboBox.ts:433 默认下拉提示文本。 Returns string Defined in laya/ui/ComboBox.ts:437 默认下拉提示文本。 Parameters value: string Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts...

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