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

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

11. laya.display.Graphics [ 67%]

...gn:String, underLine:int = 0):void 在画布上绘制文本。 Graphics  fillTexture(tex:Texture, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):void 用texture填充。 Graphics  getBounds(realSize:Boolean = false):Rectangle 获取位置及...

来源: laya_api 发布时间: 20170929

12. 纹理平铺怎么做 [ 67%]

...回复 king 赞同来自: cuixueying 、李政666 、Ace1024 Graphics   fillTexture 2017-02-07 3 0 分享 微博 QZONE 微信 李政666 赞同来自: Ace1024   2019-04-23 1 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 通过上面说的或在ide里通过filltwxture都可以实现! 2017-02-...

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

13. laya.sprite精灵无缝拼接地图,会出现黑线跟白线,使用laya的2.0.1beta版本 [ 67%]

... { var texture:Laya.Texture = Laya.loader.getRes(this.name); this.graphics.fillTexture(texture,0,0,256,256,"repeat"); // this.texture = texture; } 这样设置 没什么效果~~ 设置那个Canvas也没有效果 2019-03-16 0 0 分享 微博 QZONE 微信 178*****216 赞同来自: 请问解决了吗...

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

14. LayaRender渲染含有多个part的Body存在Bug [ 65%]

...("res/bar.png"); var w = size, h = size/5; sp.pivot(w/2, h/2); sp.graphics.fillTexture(text, 0, 0, w, h); partA = Matter.Bodies.rectangle(x, y, w, h, { isStatic:true, layaSprite:sp, });  sp = new Laya.Sprite(); w = size/5, h=size; sp.pivot(w/2, h/2); sp.graphics.fillTexture(text, 0, 0, w, h); partB...

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

15. LayaNative2.0 beta3 单像素图片平铺绘制失败 [ 63%]

...);// 此图宽度只有1像素,横着平铺绘制无法显示 p.graphics.fillTexture(tex, 0, 0, 100, tex.height);// 无法显示 p.graphics.drawTexture(tex, 0, 0, 100, tex.height);// 正常显示   忘记说明了,native上显示有问题,网页是正常的 2018-10-25 添加评论 免费帖 -...

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

16. 背景图片的repeatX和repeatY可以设置吗? [ 59%]

...容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: Graphics   fillTexture ide里面可以   https://ask.layabox.com/question/803  这个也可以 2018-01-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sw3358335 相关...

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

17. laya.display.Graphics [ 58%]

...ing, textAlign:String):FillTextCmd 在画布上绘制文本。 Graphics  fillTexture(texture:Texture, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):FillTextureCmd 用texture填充。 Graphics  getBounds(realSize:Boolean = false):Rectangle 获...

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

18. laya.ui.AutoBitmap [ 57%]

...lign:String, underLine:int = 0):void 在画布上绘制文本。 Graphics fillTexture(tex:Texture, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):void 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽...

来源: laya_api 发布时间: 20170929

19. laya.ui.AutoBitmap [ 57%]

...tring, textAlign:String):FillTextCmd 在画布上绘制文本。 Graphics fillTexture(texture:Texture, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):FillTextureCmd 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获...

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

20. [LayaAir3]laya3.3图集使用平铺功能后绘制错误内容 [ 54%]

...bbb.x = 100;             bbb.y = 100;             bbb.graphics.fillTexture(data.frames[1], 0,0, 200, 78);         });     } } 创一个空项目,放入一个图集,Main用以上代码(加载改成你放入的图集), Scene的runtime选Main 绘制成了以下结果 ​ 202...

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