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

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

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

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

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

2. laya.ui.Button_API3.0 [ 96%]

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

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

3. laya.ui.Radio_API3.0 [ 94%]

...fault value skin: string = null 皮肤。 Default value label: string = "" 标签。 Returns Radio Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from Node._extra Defined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Inherited from Button._graph...

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

4. laya.ui.ComboBox_API3.0 [ 94%]

...;//创建一个 ComboBox 类的实例对象 comboBox ,传入它的皮肤和标签集。 comboBox.x = 100;//设置 comboBox 对象的属性 x 的值,用于控制 comboBox 对象的显示位置。 comboBox.y = 100;//设置 comboBox 对象的属性 x 的值,用于控制 comboBox 对象的显示位...

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

5. laya.ui.RadioGroup_API3.0 [ 90%]

...信息。 radioGroup.labels = "item0,item1,item2";//设置 radioGroup 的标签集。 radioGroup.skin = "resource/ui/radio.png";//设置 radioGroup 的皮肤。 radioGroup.space = 10;//设置 radioGroup 的项间隔距离。 radioGroup.selectHandler = new Handler(this, onSelect);//设置 radioGroup ...

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

6. laya.ui.Tab_API3.0 [ 88%]

...//设置 tab 的皮肤。 tab.labels = "item0,item1,item2";//设置 tab 的标签集。 tab.x = 100;//设置 tab 对象的属性 x 的值,用于控制 tab 对象的显示位置。 tab.y = 100;//设置 tab 对象的属性 y 的值,用于控制 tab 对象的显示位置。 tab.selectHandler = new ...

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

7. laya.physics.ColliderBase_API3.0 [ 86%]

...xture对象 label label: string Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optio...

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

8. laya.physics.CircleCollider_API3.0 [ 85%]

...herited from ColliderBase.label Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/Collide...

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

9. laya.physics.EdgeCollider_API3.0 [ 85%]

...herited from ColliderBase.label Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/Collide...

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

10. laya.physics.BoxCollider_API3.0 [ 84%]

...herited from ColliderBase.label Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/Collide...

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