大约有 43 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)
Laya_社区(18) Laya2.0_文档(9) Laya3.0_api(6) Laya3.0_文档(5) Laya2.0_api(2) laya_api(1) Laya_示例(1) Laya2.0_示例(1)
...+CSS布局的,而这种方法需要使用JS来动态计算Canvas尺寸、坐标,感觉对使用DIV+CSS布局的侵略性比较大,有没有更好的解决方案呢?ヾ(。 ̄□ ̄)ツ゜゜゜ 2017-09-27 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 你这个建议使...
来源: Laya_社区 发布时间: 20170927
...mber, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics destroy():void 销毁此对象。 Graphics drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):DrawCircleCmd 绘制圆形。 Graphics drawC...
来源: Laya2.0_api 发布时间: 20190513
...ger 读取并缓存为 _pixelRatio 与 _RePixelRatio=1/_pixelRatio,用于坐标/长度的双向换算;同时它也会被写入 box2DWorld._pixelRatio,供 WASM 物理工厂在创建形状、关节、刚体等时统一缩放。换算关系可以直观理解为:物理值(米) = 像素值 / ...
来源: Laya3.0_文档 发布时间: 20260122
... in laya/display/Graphics.ts:304 设置剪裁区域,超出剪裁区域的坐标不显示。 Parameters x: number X 轴偏移量。 y: number Y 轴偏移量。 width: number 宽度。 height: number 高度。 Returns ClipRectCmd destroy destroy(): void Defined in laya/display/Graphics.ts:78 销毁...
来源: Laya3.0_api 发布时间: 20231115
...显示背景图2 bg2.loadImage("res/background.png"); //设置背景图2的坐标 bg2.pos(0, -852); //把背景2添加到容器 box.addChild(bg2); //设置一个帧循环处理函数,用于背景位置的更新,实现背景滚动效果。 Laya.timer.frameLoop(1, this, onLoop); })() /** * 在onLo...
来源: Laya_社区 发布时间: 20160810
...量图),根据对象形状进行遮罩显示。 【注意】遮罩对象坐标系是相对遮罩对象本身的,和Flash机制不同 Returns Sprite Inherited from AnimationBase.mask Defined in laya/display/Sprite.ts:1628 遮罩,可以设置一个对象(支持位图和矢量图),根据对象...
来源: Laya3.0_api 发布时间: 20231102
... in laya/display/Graphics.ts:304 设置剪裁区域,超出剪裁区域的坐标不显示。 Parameters x: number X 轴偏移量。 y: number Y 轴偏移量。 width: number 宽度。 height: number 高度。 Returns ClipRectCmd destroy destroy(): void Inherited from Graphics.destroy Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
... in laya/display/Graphics.ts:304 设置剪裁区域,超出剪裁区域的坐标不显示。 Parameters x: number X 轴偏移量。 y: number Y 轴偏移量。 width: number 宽度。 height: number 高度。 Returns ClipRectCmd destroy destroy(): void Overrides Graphics.destroy Defined in laya/ui/...
来源: Laya3.0_api 发布时间: 20231115
...达人 赞同来自: Rectangle中的区域设置的不对,点击区域的坐标是相对于对象自己的 比如说往左、往上扩充50像素。应该是Rectangle(-50,-50,w,h) 2017-09-20 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...
来源: Laya_社区 发布时间: 20170920
...yaAir中如何使图片以圆形的方式显示? 招聘:H5游戏开发 坐标:深圳南山 IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 游戏运行在chrome里面 听不见声音 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? Texture...
来源: Laya_社区 发布时间: 20230419