大约有 715 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
Laya_社区(314) Laya3.0_api(93) Laya2.0_api(74) laya_api(62) Laya_示例(55) Laya2.0_示例(55) Laya2.0_文档(42) Laya3.0_文档(20)
能改变动画下getGraphicBounds 的属性吗 x y width height 2017-06-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 这个是只读的方法,不能改变,你可以看下对应...
来源: Laya_社区 发布时间: 20170629
...eView(loadingjzaUI.uiView); } loadingjzaUI.uiView={"type":"View","props":{"width":192,"height":269},"compId":1,"child":[{"type":"Image","props":{"y":0,"x":0,"skin":"loading/dt_jza_loadtuan_zj.png"}},{"type":"Box","props":{"y":0,"x":0},"child":[{"type":"Image","props":{"y":0,"x":0,"width":192,"skin":...
来源: Laya_社区 发布时间: 20170725
...exture = Laya.Sprite.drawToTexture(dragCom,Laya.SpriteConst.TEXTURE,bounds.width, bounds.height, -bounds.x + view.x, -bounds.y + view.y); this._agent.graphics.drawTexture(this._agentTexture, (this._agent.width - bounds.width) * 0.5, (this._agent.height - bounds.height) * 0.5); } 附件 : --> 2...
来源: Laya_社区 发布时间: 20210911
...UI模式下Dialog标签嵌套RadioGroup会导致编辑器卡死 <Dialog width="725" sceneColor="#000000" height="500" editorInfo="compId=1"> <Image y="46" x="0" width="687" skin="setting/gd2_n.png" sizeGrid="30,30,30,30" height="402" editorInfo="compId=4"> <Image y="0" x="241.5" skin=...
来源: Laya_社区 发布时间: 20170221
...: x2, y: y2 } = this._modelPnl.localToGlobal(new Laya.Point(this._modelPnl.width, this._modelPnl.height)) let w = x2 - x let h = y2 - y let bounds = new Laya.Rectangle(x, y, w, h) let view = new ModelView(bounds, 130, 6, 65) ...
来源: Laya_社区 发布时间: 20200401
...area.w; this._doll_area.h = doll_area.h; } // 设置容器的宽高 this.width = Math.max( this._blood_area.w, this._demon_area.w, this._doll_area.w ); this.height = this._blood_area.h + this._demon_area.h + this._doll_area.h; this.graphics.drawRect( 0, 0, this.width, this.height, null, "#ff00...
来源: Laya_社区 发布时间: 20180515
...L = laya.webgl.WebGL; Laya.init(480, 800, WebGL); //串盒子的宽 var boxWidth = 440; //串盒子的高 var boxHeight = 500; //串盒子 this.chuanBox = new Laya.Rectangle(Laya.stage.width - boxWidth >> 1, Laya.stage.height - boxHeight - 10, boxWidth, boxHeight); //画出盒子 Laya.stage.gr...
来源: Laya_社区 发布时间: 20181026
... Laya.Handler; // 不支持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"; Stat.show(); this.setup(); } setup() {...
来源: Laya2.0_示例 发布时间: 20251130
... tRec = this.tempRect; tRec.width = tRec.width + CacheStyle.CANVAS_EXTEND_EDGE * 2; tRec.height = tRec.height + CacheStyle.CANVAS_EXTEND_EDGE * 2; tRec.x = tRec.x - sprite.pivotX; t...
来源: Laya_社区 发布时间: 20210615
...tmlObject IHitArea Index Constructors constructor Accessors element height width Methods addRect contains create destroy pos release resetArea Constructors constructor new HtmlLink(): HtmlLink Defined in laya/html/HtmlLink.ts:14 Returns HtmlLink Accessors element get element(): HtmlElement Defined i...
来源: Laya3.0_api 发布时间: 20231115