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

大约有 186 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0062 秒)

21. laya.ui.TextInput [ 67%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中...

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

22. laya.ui.Clip [ 66%]

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

来源: laya_api 发布时间: 20170929

23. laya.ui.ProgressBar [ 66%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bar : Image[read-only] 获取进度条对象。 ProgressBar  bg : Image[read-only] 获...

来源: laya_api 发布时间: 20170929

24. laya.ui.List [ 65%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

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

25. laya.ui.Component [ 65%]

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

来源: laya_api 发布时间: 20170929

26. laya.ui.Image [ 65%]

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

来源: laya_api 发布时间: 20170929

27. laya.ui.UIComponent [ 65%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

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

28. laya.ui.AdvImage [ 65%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

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

29. laya.resource.Texture_API3.0 [ 65%]

...t bitmap(value: BaseTexture): void Defined in laya/resource/Texture.ts:214 获取位图。 Returns BaseTexture 位图。 Defined in laya/resource/Texture.ts:222 设置位图。 Parameters value: BaseTexture Returns void 位图。 cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory De...

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

30. 请问如何获取某组件的像素坐标 [ 63%]

LayaAir引擎 请问如何获取某组件的像素坐标 我在stage上添加了vbox,里面含有N个hbox,在其中一个hbox里含有一个button,请问我如何获取这个button的像素点坐标,需要它的像素x、y、宽度、高度,如果用localToGlobal,好像获取得的是...

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