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

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

221. laya.ui.UIGroup_API3.0 [ 45%]

...lue: string): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.b...

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

222. laya.ui.Dialog_API3.0 [ 45%]

...弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹出层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭...

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

223. laya.ui.HScrollBar_API3.0 [ 44%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscroll$down.png", "resource/ui/hscroll$up.png"], Handler.create(this, onLoadComplete));//加载资源。 } private functi...

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

224. laya.ui.VScrollBar_API3.0 [ 44%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png"], Handler.create(this, onLoadComplete)); } private function onLoadComplete...

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

225. laya.ui.ScaleBox [ 44%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间垂直距离(以像素为单位)。 UIComponent cacheA...

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

226. laya.display.Animation_API3.0 [ 44%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 类实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载...

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

227. laya.ui.HBox [ 44%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间垂直距离(以像素为单位)。 UIComponent cacheA...

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

228. laya.ui.VBox [ 44%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间垂直距离(以像素为单位)。 UIComponent cacheA...

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

229. laya.ui.ViewStack [ 44%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间垂直距离(以像素为单位)。 UIComponent cacheA...

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

230. laya.ui.LayoutBox [ 43%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间垂直距离(以像素为单位)。 UIComponent cacheA...

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