大约有 1,720 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0227 秒)
Laya_社区(1002) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48)
...e.x = (Laya.stage.width - tree.width) / 2; // tree.y = (Laya.stage.height - tree.height) / 2; // Laya.stage.addChild(tree); } 附件 : --> 2018-07-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20180726
...说 上代码 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL nWidth:number; nHeight:number; ImgX:number; ImgY:number; Img:Laya.Image =new Laya.Image(); this.nWidth =this.bg.width; //背景图宽 this.nHeight =this.bg.height;//背景图的高 this.Img.x =0; this.Img.y =0; this.Img.url ="../game/1.png...
来源: Laya_社区 发布时间: 20181123
...er() { var vs = new VScrollBar(); vs.skin = "../../res/ui/vscroll.png"; vs.height = 300; vs.pos(400, 50); vs.min = 0; vs.max = 100; vs.changeHandler = new Handler(this, onChange); Laya.stage.addChild(vs); } function onChange(value) { console.log("滚动条的位置: value=" + value); } })();module...
来源: Laya_示例 发布时间: 20251209
...。 progressBar.width = 200;//设置 progressBar 的宽度。 progressBar.height = 50;//设置 progressBar 的高度。 progressBar.sizeGrid = "5,10,5,10";//设置 progressBar 的网格信息。 progressBar.changeHandler = new Handler(this, onChange);//设置 progressBar 的value值改变时执行...
来源: Laya3.0_api 发布时间: 20231115
...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOpt...
来源: Laya3.0_api 发布时间: 20231115
...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInSta...
来源: Laya3.0_api 发布时间: 20231115
...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniMode animationName blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalR...
来源: Laya3.0_api 发布时间: 20231115
...wtocanvCtx offsetX offsetY tipBackColor tipDelay tipTextColor Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource defaultTipHandler destroyed disabled displayHeight displayWidth displayedI...
来源: Laya3.0_api 发布时间: 20231115
...; ape.loadImage("../bin/res/images/2.png",(Laya.stage.width)/2,(Laya.stage.height)/2); 效果和 ape.x=(Laya.stage.width)/2; ape.y=(Laya.stage.height)/2;不同这是为什么? 2017-07-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20170717
...// 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.loadFont(); } loadFont() { const B...
来源: Laya_社区 发布时间: 20190225