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

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

71. laya.ui.Button_API3.0 [ 49%]

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

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

72. laya.ui.CheckBox_API3.0 [ 49%]

...ted Menu Globals "laya/ui/CheckBox" CheckBox Class CheckBox CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的的默认属性是:selected...

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

73. laya.ui.ProgressBar [ 48%]

...ProgressBar Component Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会...

来源: laya_api 发布时间: 20170929

74. laya.ui.Image [ 48%]

...tSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 See alsolaya.ui.AutoBitmapPublic Properties Hide Inherited Public Prope...

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

75. laya.ui.ProgressBar [ 48%]

...ogressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only]...

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

76. laya.ui.FontClip [ 48%]

...456";//设置皮肤对应的内容,空格换行。此皮肤为2行5列(显示时skin会被等分为2行5列),第一行对应的文字为"abc123",第二行为"456" fontClip.value = "a1326";//显示"a1326"文字 Public Properties Hide Inherited Public Properties Show Inherited Public Propert...

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

77. laya.ui.Radio_API3.0 [ 47%]

...ined in laya/ui/Button.ts:163 指定按钮按下时是否是切换按钮的显示状态。 example 以下示例代码,创建了一个 Button 实例,并设置为切换按钮。 example package { import laya.ui.Button; import laya.utils.Handler; public class Button_toggle { public function Button_...

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

78. laya.ui.List [ 47%]

... Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值...

来源: laya_api 发布时间: 20170929

79. laya.ui.ComboBox_API3.0 [ 47%]

.../设置 comboBox 对象的属性 x 的值,用于控制 comboBox 对象的显示位置。 comboBox.y = 100;//设置 comboBox 对象的属性 x 的值,用于控制 comboBox 对象的显示位置。 comboBox.selectHandler = new Handler(this, onSelect);//设置 comboBox 选择项改变时执行的...

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

80. laya.ui.Slider [ 47%]

...和最大值之间特定间隔内的值。滑块还可以使用数据提示显示其当前值。 See alsolaya.ui.HSliderlaya.ui.VSliderPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  allowClickBack : Boolean 一个布尔值,指定是否允...

来源: laya_api 发布时间: 20170929