大约有 23 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0021 秒)
...X < scaleY) { scaleY = scaleX; } else { scaleX = scaleY; } break; case "fixedwidth": scaleY = scaleX; break; case "fixedheight": scaleX = scaleY; break; } } AppConfig.viewRect.x = (desW - divW / scaleX) / 2; AppConfig.viewRect.y = (desH - divH / scaleY) / 2; AppConfig.viewRect.width = desW - AppC...
来源: Laya_社区 发布时间: 20171205
...atic width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static alignV:string="top"; static alignH:string="left"; static startScene:any="mainscene.scene"; static sceneRoot:string=""; static debug:boolean=false; static stat:boolean=false...
来源: Laya_社区 发布时间: 20181014
... 按个 不归位的问题 但是 如果我自己计算最大比例 使用fixedwidth or fixedheight 那么 就不会出现 归位的问题 Laya_Aaron • 2018-02-11 17:37 @liangge:用那个不好改代码。。。 liangge • 2018-02-11 17:39 @Laya_Aaron:我给你 弄一个简单版本 等我几分...
来源: Laya_社区 发布时间: 20180211