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

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

291. laya.ui.DialogManager [ 31%]

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

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

292. laya.ui.Tree_API3.0 [ 31%]

...e() { Laya.init(640, 800); 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", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folder.png", "...

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

293. laya.display.Text [ 31%]

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

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

294. laya.display.Text_API3.0 [ 31%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; text.color = "#008fff";//设置 text ...

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

295. laya.ui.ColorPicker_API3.0 [ 31%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var colorPicket:ColorPicker = new Color...

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

296. laya.ui.ComboBox_API3.0 [ 30%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var comboBox:ComboBox = new ComboBox("...

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

297. laya.ui.Slider [ 30%]

...,指示是否显示标签。 Slider  sizeGrid : String 当前实例的背景图( Image )和滑块按钮( Button )实例的有效缩放网格数据。 数据格式:"上边距,右边距,下边距,左边距,是否重复填充(值为0:不重复填充,1:重复填充)",以逗号分...

来源: laya_api 发布时间: 20170929

298. laya.ui.Slider [ 29%]

...,指示是否显示标签。 Slider  sizeGrid : String 当前实例的背景图( Image )和滑块按钮( Button )实例的有效缩放网格数据。 数据格式:"上边距,右边距,下边距,左边距,是否重复填充(值为0:不重复填充,1:重复填充)",以逗号分...

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

299. laya.display.Input [ 29%]

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

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

300. laya.ui.Button_API3.0 [ 29%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resour...

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