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

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

61. laya.ui.Tree [ 66%]

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

来源: laya_api 发布时间: 20170929

62. laya.ui.Tree_API3.0 [ 66%]

...ml;//设置 tree 的树结构数据。 tree.x = 100;//设置 tree 对象的属性 x 的值,用于控制 tree 对象的显示位置。 tree.y = 100;//设置 tree 对象的属性 y 的值,用于控制 tree 对象的显示位置。 tree.width = 200;//设置 tree 的宽度。 tree.height = 100;//设...

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

63. laya.ui.RadioGroup_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

64. laya.ui.List_API3.0 [ 66%]

...Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_super){ function Item(){ Item.__super.call(this);//初始化父类 this.graphics.drawRect(0, 0, 100, 20, "#ff0000"); var label = new laya.ui.Label();/...

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

65. laya.ui.UIGroup [ 66%]

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

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

66. laya.ui.HScrollBar_API3.0 [ 66%]

... hScrollBar 的皮肤。 hScrollBar.x = 100;//设置 hScrollBar 对象的属性 x 的值,用于控制 hScrollBar 对象的显示位置。 hScrollBar.y = 100;//设置 hScrollBar 对象的属性 y 的值,用于控制 hScrollBar 对象的显示位置。 hScrollBar.changeHandler = new Handler(this, ...

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

67. laya.ui.VScrollBar_API3.0 [ 66%]

... vScrollBar 的皮肤。 vScrollBar.x = 100;//设置 vScrollBar 对象的属性 x 的值,用于控制 vScrollBar 对象的显示位置。 vScrollBar.y = 100;//设置 vScrollBar 对象的属性 y 的值,用于控制 vScrollBar 对象的显示位置。 vScrollBar.changeHandler = new Handler(this, ...

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

68. laya.ui.Radio_API3.0 [ 66%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in lay...

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

69. laya.ui.Clip [ 65%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模式。目...

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

70. 求问Texture和Texture2D的区别,和使用问题 [ 65%]

...加载.ls/.lh自动生成的贴图就是Texture2D   2、Texture.bitmap的属性useNum和referenceCount的值好像经常不正确。 上面的例子,明明图片使用了3遍,但是referenceCount却等于0 另外useNum有时候有,有时候没有,还有负数出现的情况   3、同一贴...

来源: Laya_社区 发布时间: 20180314