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

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

11. 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

12. laya.ani.GraphicsAni_API3.0 [ 63%]

...ly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): GraphicsAni Inherited from Graphics.constructor Defined in laya/dis...

来源: Laya3.0_api 发布时间: 20231115

13. 纹理平铺怎么做 [ 61%]

...回复 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

14. laya.ui.AutoBitmap_API3.0 [ 60%]

...ly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap Inherited from Graphics.constructor Defined in laya/display/Gra...

来源: Laya3.0_api 发布时间: 20231115

15. laya.display.cmd.FillTextureCmd [ 60%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames FillTextureCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class FillTextureCmdInheritanceFillTextureCmd Object 填充贴图 Public Properties PropertyDefined By  height : Number (可选)高...

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

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_API3.0 [ 58%]

...ly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate Constructors constructor new Graphics(): Graphics Defined in laya/display/Graphics.ts:54 Returns Graphics Accessors cmds get c...

来源: Laya3.0_api 发布时间: 20231115

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

...);// 此图宽度只有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

19. laya.display.cmd.FillTextureCmd_API3.0 [ 54%]

...ected All Inherited Externals Only exported Menu Globals "laya/display/cmd/FillTextureCmd" FillTextureCmd Class FillTextureCmd 填充贴图 Hierarchy FillTextureCmd Index Properties color height offset percent texture type width x y ID Methods getBoundPoints recover Properties color color: number = ...

来源: Laya3.0_api 发布时间: 20231115

20. laya.display.Graphics [ 53%]

...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