• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 721 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)

211. 移动Sprite时,边缘闪烁 [ 63%]

...tion () { function tankSprite() { this.speed_x = 3; this.speed_y = 4; this.graphics.drawRect(0, 0, 90, 90, '#aabbcc', '#bbccdd', 1); Laya.stage.addChild(this); var lastTimestamp = 0; var count = 0; var totale = 0; Laya.timer.frameLoop(1, this, function test() { var deltaTime = new Date().getTime() -...

来源: Laya_社区 发布时间: 20170920

212. laya.ui.TextArea [ 63%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。Component  height : Number[override] TextArea ...

来源: laya_api 发布时间: 20170929

213. laya.html.dom.HTMLDivElement [ 63%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高...

来源: Laya2.0_api 发布时间: 20190513

214. 自适应问题 [ 63%]

....getRes(skin);         var _sprite = new Sprite();         _sprite.graphics.drawTexture(t, 0, 0);         Laya.stage.addChild(_sprite); }); 但是出来的效果是这样,我本意是想 宽度不变 高度可以拉伸 问题1 怎么才能宽度不变 高度自适应 问题2 如果我...

来源: Laya_社区 发布时间: 20170222

215. [LayaAir3]Area2D有偏移时,节点下的鼠标检测区域与原UI不符 [ 62%]

...它机型都是正常的。 关于使用matterjs物理引擎鼠标问题 graphics drawPath drawLine 鼠标 画笔 画线 锯齿 Laya 鼠标Cursor怪异问题,有demo 龙骨skeleton鼠标点击区域的设置 问题状态 最新活动: 2025-08-16 14:41 浏览: 1720 关注: 3 人

来源: Laya_社区 发布时间: 20250802

216. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 62%]

...ild(t2); let Texture = Laya.Texture.create(t, 0, 0, t.width, t.height); t2.graphics.drawImage(Texture, 0, 0, 56, 56); } 2025-09-23 0 0 分享 微博 QZONE 微信 LayaAir大为 赞同来自: 肖亮亮 您好,我们已经复现这个问题,感谢您的反馈 2025-09-01 1 0 分享 微博 QZONE 微...

来源: Laya_社区 发布时间: 20250827

217. 如何在代码中new Poly [ 62%]

...请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: Graphics().drawPoly() /**          * 绘制多边形。          * @param x            开始绘制的 X 轴位置。          * @param y            开始绘制的 Y 轴位置。      ...

来源: Laya_社区 发布时间: 20180507

218. laya.display.Input [ 62%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number[override] 显示对象的高度,单位为像素,默认为0...

来源: Laya2.0_api 发布时间: 20190513

219. FontClip问题 [ 62%]

...dex])continue ;   texture=this.sources[index];   if (isHorizontal)this.graphics.drawTexture(texture,dX+i *(texture.sourceWidth+this.spaceX),0,texture.sourceWidth,texture.sourceHeight);   else this.graphics.drawTexture(texture,0+dX,i *(texture.sourceHeight+this.spaceY),texture.sourceWidth,textu...

来源: Laya_社区 发布时间: 20180228

220. 3.0.0正式版 设置默认字体后Laya.Text的长度问题 [ 62%]

...heelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 graphics alpha 问题 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。 问题状态 最新活动: 2023-07-11 17:03 浏览: 3375 关注: 2 人 人月成患...

来源: Laya_社区 发布时间: 20230703