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

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

61. laya.ui.DialogManager_API3.0 [ 32%]

...会出发管理类的open和close事件 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭,点击窗口是否切换层次等 通过设置对话框的zOrder属性,可以更改弹出的层次 Hierarchy Sprite DialogManager Index Constructors constructor Prope...

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

62. laya.ui.HScrollBar_API3.0 [ 32%]

...置游戏画布宽高。 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

63. laya.ui.VScrollBar_API3.0 [ 32%]

...宽高、渲染模式。 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

64. laya.ui.Clip_API3.0 [ 32%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { clip = new Clip("resource/ui/clip_num.png", 10, 1);//创建一个 Clip 类的实例对象 clip ,传入它的皮肤skin和横向分割数量、竖向分割数量。 cl...

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

65. laya.html.dom.HTMLDivElement_API3.0 [ 32%]

...ter; 水平对齐方式 line-height:20px; 行高 background-color:#ff0000; 背景颜色 border-color:#ff0000; 边框颜色 width:100px; 对象宽度 height:100px; 对象高度 示例用法: var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML = "adivspanspan2p"; Hierarchy Sprite HTMLDivEleme...

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

66. laya.ui.Image_API3.0 [ 31%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var bg:Image = new Image("resource/ui/bg.png");//创建一个 Image 类的实例对象 bg ,并传入它的皮肤。 bg.x = 100;//设置 bg 对象的属性 x 的值,...

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

67. laya.ui.Box [ 31%]

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

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

68. laya.ui.Label [ 31%]

...置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗...

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

69. laya.ui.ScaleBox_API3.0 [ 31%]

...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

70. laya.ui.Box_API3.0 [ 31%]

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

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