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

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

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

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

...回复 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.ui.AutoBitmap_API3.0 [ 61%]

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

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

15. 背景图片的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

16. laya.display.Graphics_API3.0 [ 59%]

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

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

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

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

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

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

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

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