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

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

231. laya.ui.Clip_API3.0 [ 42%]

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

232. laya.ui.Image_API3.0 [ 42%]

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

233. laya.ui.Tree [ 42%]

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

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

234. laya.ui.Panel [ 41%]

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

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

235. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 41%]

...ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //创建列表 createList(); } /***创建list列表**/ private function createList():void { //实例化列表 var list:List = new List(); //设置列表渲染单元格为Item类(...

来源: Laya2.0_文档 发布时间: 20210715

236. laya.html.dom.HTMLDivElement_API3.0 [ 40%]

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

237. laya.ui.List [ 40%]

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

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

238. laya.display.Stage_API3.0 [ 39%]

...bgColor(value: string): void Defined in laya/display/Stage.ts:675 舞台背景颜色默认为黑色,null为透明。 Returns string Defined in laya/display/Stage.ts:679 舞台背景颜色默认为黑色,null为透明。 Parameters value: string Returns void blendMode get blendMode():...

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

239. laya.ui.ViewStack_API3.0 [ 38%]

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

240. laya.ui.ScaleBox_API3.0 [ 38%]

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