大约有 207 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0085 秒)
..."); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png",laya.utils.Handler.create(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加...
来源: Laya3.0_api 发布时间: 20231115
...n Button_toggle() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete)); } private function onLoadComplete():void { trace("资源加载完成...
来源: Laya3.0_api 发布时间: 20231115
...n Button_toggle() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete)); } private function onLoadComplete():void { trace("资源加载完成...
来源: Laya3.0_api 发布时间: 20231115
...se.blendMode Defined in laya/display/Sprite.ts:960 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from AnimationBase.blendMode Defined in laya/display/Sprite.ts:964 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns vo...
来源: Laya3.0_api 发布时间: 20231102
...,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字。如果值为 true,则文本为粗体字。 Label borderColor : String 文本...
来源: laya_api 发布时间: 20170929
...t.blendMode Defined in laya/display/Sprite.ts:1056 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from Text.blendMode Defined in laya/display/Sprite.ts:1060 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns void buffe...
来源: Laya3.0_api 发布时间: 20231115
...t.blendMode Defined in laya/display/Sprite.ts:1056 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from Text.blendMode Defined in laya/display/Sprite.ts:1060 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns void botto...
来源: Laya3.0_api 发布时间: 20231115
...t.blendMode Defined in laya/display/Sprite.ts:1056 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from Text.blendMode Defined in laya/display/Sprite.ts:1060 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns void botto...
来源: Laya3.0_api 发布时间: 20231115
...g Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出...
来源: Laya3.0_api 发布时间: 20231115
...,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字。如果值为 true,则文本为粗体字。 Text borderColor : String 文...
来源: Laya2.0_api 发布时间: 20190513