大约有 1,761 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0091 秒)
Laya_社区(1141) Laya3.0_api(223) Laya2.0_文档(89) Laya2.0_api(72) Laya2.0_示例(66) Laya_示例(63) laya_api(62) Laya3.0_文档(45)
...感谢@mengjia @zq4950411 解答 根据@mengjia 的建议使用SCALE_FIXED_WIDTH来适配,并配合相对布局,轻松解决了我的需求(代码见上图) 2018-03-12 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Blueria 相关...
来源: Laya_社区 发布时间: 20180312
...ntsByTagName("body")[0]; body.appendChild(iframe); //适配处理 var frameWidth = 720 * Laya.stage.clientScaleX; var frameHeight = 1280 * Laya.stage.clientScaleY; var styleStr = "position: absolute; left: {0}px; top: {1}px; z-index: 100009;";//laya 的index是100000 var str = styleStr.format((laya....
来源: Laya_社区 发布时间: 20170415
...am?: any): void { var self = this; var width = self.width; var height = self.height; var data = { view: self.$viewName, width: width, height: height ...
来源: Laya_社区 发布时间: 20181114
... ['uiView',function(){return this.uiView={"type":"View","props":{"width":600,"height":400}};} ]); return ABCPanelUI; })(View); var TestPageUI=(function(_super){ function TestPageUI(){ TestPageUI.__su...
来源: Laya_社区 发布时间: 20161017
...Through name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation glob...
来源: Laya3.0_api 发布时间: 20231115
...I extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; constructor(){ ...
来源: Laya_社区 发布时间: 20200228
... } let list = new Laya.List; list.width = this.itemList.width; list.height = this.itemList.height; list.x = this.itemList.x; list.y = this.itemList.y; list.spaceY = 12; list.vScrollBarS...
来源: Laya_社区 发布时间: 20170310
...反而是对的,这按理是bug吧 // sp3.pos(Laya.stage.width/2,0); Laya.stage.addChild(sp3); Laya.timer.frameLoop(2,null,function() { sp3.rotation = sp3.rotation+10; } ...
来源: Laya_社区 发布时间: 20191112
...{ public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; ...
来源: Laya_社区 发布时间: 20200228
...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...
来源: Laya2.0_api 发布时间: 20190513