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

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

51. laya.ui.Label_API3.0 [ 67%]

...";//设置 label 的文本内容。 label.x = 100;//设置 label 对象的属性 x 的值,用于控制 label 对象的显示位置。 label.y = 100;//设置 label 对象的属性 y 的值,用于控制 label 对象的显示位置。 label.width = 300;//设置 label 的宽度。 label.height = 200...

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

52. laya.ui.Tree [ 67%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bo...

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

53. laya.ui.UIGroup_API3.0 [ 67%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

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

54. laya.ui.Tab_API3.0 [ 67%]

... "laya/ui/Tab" Tab Class Tab Tab 组件用来定义选项卡按钮组。 * 属性:selectedIndex 的默认值为-1。 example 以下示例代码,创建了一个 Tab 实例。 package { import laya.ui.Tab; import laya.utils.Handler; public class Tab_Example { public function Tab_Example() { Laya.i...

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

55. laya.ui.ScrollBar_API3.0 [ 67%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Defined in laya/ui/ScrollBar.ts:64 底部移动限制(达到限制后,会抛出dr...

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

56. laya.ui.Slider [ 67%]

...布尔值,指定是否允许通过点击滑动条改变 Slider 的 value 属性值。 Slider alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Com...

来源: laya_api 发布时间: 20170929

57. laya.ui.Button_API3.0 [ 67%]

... button ,并传入它的皮肤。 button.x = 100;//设置 button 对象的属性 x 的值,用于控制 button 对象的显示位置。 button.y = 100;//设置 button 对象的属性 y 的值,用于控制 button 对象的显示位置。 button.clickHandler = new Handler(this, onClickButton,[butto...

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

58. laya.ui.Component [ 66%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组件底边...

来源: laya_api 发布时间: 20170929

59. laya.ui.ComboBox_API3.0 [ 66%]

...入它的皮肤和标签集。 comboBox.x = 100;//设置 comboBox 对象的属性 x 的值,用于控制 comboBox 对象的显示位置。 comboBox.y = 100;//设置 comboBox 对象的属性 x 的值,用于控制 comboBox 对象的显示位置。 comboBox.selectHandler = new Handler(this, onSelect...

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

60. laya.ui.FontClip_API3.0 [ 66%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

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