大约有 632 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0062 秒)
Laya_社区(254) Laya2.0_示例(114) Laya2.0_文档(94) Laya_示例(92) Laya3.0_api(34) Laya2.0_api(21) Laya3.0_文档(15) laya_api(8)
...放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //图像资源 var res:Array = [ "../../../../res/ui/vscroll.png", "../../../../res/ui/vscroll$bar.png", "../../../../res/ui/vscroll$down.png", "../../../../res/ui/vscroll$up.png", "../../../../res/ui/tree...
来源: Laya2.0_文档 发布时间: 20210715
...Sample { constructor() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor = "#ffcccc"; var data: string = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp: Laya.Sprite = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addChild(sp); } ...
来源: Laya2.0_文档 发布时间: 20210715
...t; <title>五十音图对对碰</title> </head> <body bgcolor="gainsboro"> </body> <script src="libs/laya.core.js"></script> <script src="linkgame.js"></script> </html> 再建立个linkgame.js,用下列代码进行初始化。个人建议...
来源: Laya_社区 发布时间: 20160623
...rs _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphi...
来源: Laya3.0_api 发布时间: 20231115
... Laya.init(720/2 ,1280/2,WebGL); Laya.stage.bgColor = "#000000"; Laya.stage.scaleMode = Stage.SCALE_FIXED_AUTO; //背景音乐 m_bkSound = new Sound(); m_bkSound.load("Res/Sound/City.mp3");...
来源: Laya_社区 发布时间: 20170921
...unction LayaUISample() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor ="#cccccc"; var data:String= "data:image/svg+xml,"+'' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp:Sprite = new Sprite(); sp.loadImage(data,0,0,200,200); Laya.stage.addChild(sp); } } } ``` 通过data...
来源: Laya2.0_文档 发布时间: 20210715
...Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Stat.enable(); Laya.stage.loadImage("res/cartoon2/background.jpg", 0, 0, 1280, 900); this.createCharacters(); text = new Text(); text.zOrder = 10000; text....
来源: Laya2.0_示例 发布时间: 20241119
...op(居顶对齐)、middle(居中对齐)、bottom(居底对齐) bgColor 背景颜色,勾选后可以直接输入颜色值,例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色 borderColor 文本边框颜色,勾选后可以直接输入颜色值,例如:#ffffff...
来源: Laya3.0_文档 发布时间: 20241014
...t _isWidthSet active activeInHierarchy alignH alignV alpha anchorX anchorY bgColor blendMode cacheAs clientScaleX clientScaleY components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters frameRate fullScreenEnabled globalRotation globalScaleX globalSc...
来源: Laya3.0_api 发布时间: 20231115
.../config.js 2019-06-18 13:34:09.380089+0800 test1[6479:65523] JSBridge bgColor: ["#000000"] 2019-06-18 13:34:09.380371+0800 test1[6479:65523] JSRuntime::callMethod {} 2019-06-18 13:34:09.380592+0800 test1[6479:65523] JSBridge setFontColor: ["#ffffff"] 2019-06-18 13:34:09.380823+0800 test1[6479...
来源: Laya_社区 发布时间: 20190618