大约有 368 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0048 秒)
Laya_社区(167) Laya3.0_api(64) Laya2.0_api(59) laya_api(55) Laya2.0_文档(12) Laya2.0_示例(6) Laya3.0_文档(3) Laya_示例(2)
...rawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): Grap...
来源: Laya3.0_api 发布时间: 20231115
...w Sprite(); var t:Texture = Laya.loader.getRes("res/bg.png"); ape.graphics.drawTexture(t,0,0); var t1:Texture = Laya.loader.getRes("res/wzq.png"); ape.graphics.drawTexture(t1,0,0); var t2:Texture = Laya.loader.getRes("res/rkfb.png"); ape.graphics.drawTexture(t2,0,0); var t3:Texture = Laya.loader.get...
来源: Laya_社区 发布时间: 20180605
...ct_bottom.drawToTexture(100, 100, 0, 0); top_rect.graphics.drawTexture(t, 0, 0, 200, 100); 附件 : --> 2019-07-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 宁远 赞同来自: 找...
来源: Laya_社区 发布时间: 20190730
...rawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap ...
来源: Laya3.0_api 发布时间: 20231115
...rawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate Constructors constructor new Graphics(): Graphics Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...ite 什么克隆一个对象啊? 在下面的“ tempSpr2.graphics.drawTexture(tempSpr.texture, 0, 0, tempSpr.width, tempSpr.height);”中 tempSpr.texture 是空的 if (data && data.items != []) { let tempSpr: Sprite = new Sprite(); let tempImg:...
来源: Laya_社区 发布时间: 20170508
...lign != "right") { this.graphics.drawTexture(te, i * te.width, 0, te.width, te.height); } else { this.graphics.drawTexture(te, this.width - ((splitArr.length - i) * te.width), 0, te...
来源: Laya_社区 发布时间: 20170601
...发基础,本篇从API到示例分别介绍Sprite.loadImage与Graphics.drawTexture两种显示图片的方法。 ## 1、用loadImage方法显示与切换图片 ### 1.1 loadImage API概述 在API文档中搜索laya.display.Sprite,可以找到loadImage()方法,如图1所示,我们先熟悉一...
来源: Laya2.0_文档 发布时间: 20210715
图片通过drawTexture平铺出现缝隙 this.darwSprite = new Sprite(); this.addChild(this.darwSprite); var t: Texture = Laya.loader.getRes("load/0.png"); this.darwSprite.graphics.drawTexture(t,0,0); this.darwSprite.graphics.drawTexture(t,176,0); ...
来源: Laya_社区 发布时间: 20160718
...hild(ape); ape.loadImage("../../res/apes/monkey3.png"); // 方法2:使用drawTexture Laya.loader.load("../../res/apes/monkey2.png", Handler.create(this, function() { var t = Laya.loader.getRes("../../res/apes/monkey2.png"); var ape = new Sprite(); ape.graphics.drawTexture(t, 0, 0); Laya.stage.addC...
来源: Laya_示例 发布时间: 20250221