大约有 183 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0105 秒)
Laya_社区(45) Laya3.0_api(44) Laya2.0_api(33) laya_api(32) Laya2.0_文档(21) Laya3.0_文档(6) Laya2.0_示例(1) Laya_示例(1)
...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { vSlider = new VSlider();//创建一个 VS...
来源: Laya3.0_api 发布时间: 20231115
...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { clip = new Clip("resource/ui/clip_num.png", 10, 1);//创建一个 Clip 类的实例对象 clip ,传入它的皮肤skin和横向分割数量、竖向分割数量。 clip.aut...
来源: Laya3.0_api 发布时间: 20231115
...戏画布宽高。 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
...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/btn_close.png", Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { dialog = new Dialog_Instance();//创建一个 Dialog_Instance 类的实...
来源: Laya3.0_api 发布时间: 20231115
...mber = 8 Defined in laya/d3/shader/Shader3D.ts:33 渲染状态_混合常量颜色。 Static RENDER_STATE_BLEND_DST RENDER_STATE_BLEND_DST: number = 3 Defined in laya/d3/shader/Shader3D.ts:23 渲染状态_混合目标。 Static RENDER_STATE_BLEND_DST_ALPHA RENDER_STATE_BLEND_DST_ALPHA: number = 7 Def...
来源: Laya3.0_api 发布时间: 20231102
...tring): 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.blendMo...
来源: Laya3.0_api 发布时间: 20231115
...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/display/...
来源: Laya3.0_api 发布时间: 20231115
...tring): 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.blendMo...
来源: Laya3.0_api 发布时间: 20231115
...tring): 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.blendMo...
来源: Laya3.0_api 发布时间: 20231115
...设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : ...
来源: Laya2.0_api 发布时间: 20190513