大约有 305 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0070 秒)
Laya_社区(198) Laya3.0_api(38) Laya2.0_api(28) Laya2.0_文档(16) laya_api(14) Laya3.0_文档(10) Laya2.0_示例(1)
... 第二个问题,我们在登录主界面,有几个按钮,和一张背景图,和一个公告区,非常简单的一个2d界面。公告区是走马灯效果的一行滚动文字,用mask实现的,在低端机型渲染会出错闪屏,如下是三帧截图效果,在高端机上就没...
来源: Laya_社区 发布时间: 20171215
...宽高、渲染模式。 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
...置游戏画布宽高。 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
...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new TextArea("这个一个TextArea实例。"...
来源: Laya3.0_api 发布时间: 20231115
...ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //加载资源 Laya.loader.load(skin, Handler.create(this, onLoadComplete)); } /***加载资源完成***/ private function onLoadComplete(e:*=null):void { //实例化下拉列表 c...
来源: Laya2.0_文档 发布时间: 20210714
...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cach...
来源: Laya2.0_api 发布时间: 20190513
...e,对性能有一定影响。 Sprite bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗...
来源: Laya2.0_api 发布时间: 20190513
...示:  只需要将两个圆形连接,木板是作为背景参照的,运行一下就看起来木板上两端有两个滑轮,并且可以用鼠标拖拽ball1,观察效果:  更多问题请访问社区http://ask.layabox.com
来源: Laya2.0_文档 发布时间: 20210715
...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
... dialog 自定义关闭效果,效果执行完,弹窗无法关闭 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? 发布到vivo平台后,龙骨...
来源: Laya_社区 发布时间: 20200505