大约有 854 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0095 秒)
Laya_社区(461) Laya3.0_api(77) laya_api(70) Laya2.0_api(64) Laya3.0_文档(56) Laya2.0_文档(50) Laya2.0_示例(39) Laya_示例(37)
... let paihangbang = new Text(); paihangbang.fontSize = 30; paihangbang.text = "已获得关卡"; paihangbang.x = (list.width - paihangbang.fontSize * 3) / 2; console.info(list.x + "---"+list.y + "---"+paihangba...
来源: Laya_社区 发布时间: 20210122
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight dis...
来源: Laya3.0_api 发布时间: 20231102
... RunDriver.getTexturePixels(this,x,y,width,height); }else { Browser.canvas.size(width,height); Browser.canvas.clear(); Browser.context.drawTexture(this,-x,-y,this.width,this.height,0,0); var info=Browser.context.getImageData(0,0,width,height); } return info.data; }上面是 getpixels 的实现, ...
来源: Laya_社区 发布时间: 20171201
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode borderColor bottom cacheAs centerX centerY components cus...
来源: Laya3.0_api 发布时间: 20231115
...。 progressBar.height = 50;//设置 progressBar 的高度。 progressBar.sizeGrid = "5,10,5,10";//设置 progressBar 的网格信息。 progressBar.changeHandler = new Handler(this, onChange);//设置 progressBar 的value值改变时执行的处理器。 Laya.stage.addChild(progressBar);//将 progr...
来源: Laya3.0_api 发布时间: 20231115
...个逻辑) 这种放缩,会让在屏Canvas无论如何设置 size 都是最清晰的状态。 但是,这种放缩会使得渲染相对较慢,而有些游戏并不需要这种清晰度;同时也给一些重度游戏在使用 shader 接口时埋了坑,给游戏开发造成...
来源: Laya_社区 发布时间: 20190201
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource...
来源: Laya3.0_api 发布时间: 20231115
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth disp...
来源: Laya3.0_api 发布时间: 20231115
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior isSortItem mouseThrough name tag CENTER LEFT NONE RIGHT drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY ...
来源: Laya3.0_api 发布时间: 20231115
....w,charData.h,"no-repeat",new Laya.Point(-charData.x,-charData.y)); charSp.size(charData.w,charData.h) charSp.scrollRect = new Laya.Rectangle(charData.x,charData.y,charData.w,charData.h); this.addChild(charSp); return charSp; } // 设置位置 private setCharsPos(){ switch (this._posType){ case BPFo...
来源: Laya_社区 发布时间: 20161014