大约有 443 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0043 秒)
Laya_社区(240) Laya3.0_api(64) Laya2.0_api(59) laya_api(55) Laya2.0_文档(13) Laya2.0_示例(7) Laya3.0_文档(3) Laya_示例(2)
请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 我可以另外建一个圆形比如 var mapMask = new Laya.Sprite(); mapMask.size(100,100); ma...
来源: Laya_社区 发布时间: 20181125
...纹理 var box:Sprite=new Sprite(); Laya.stage.addChild(box); box.graphics.drawTexture(texture1,50,50,0,0,new Matrix(),0.5); box.graphics.drawTexture(texture2,200,50,0,0,new Matrix(),0.5); box.graphics.drawTexture(texture3,350,50,0,0,new Matrix(),0.5); box.graphics.drawTexture(texture4,500,50,0,0,ne...
来源: Laya_社区 发布时间: 20170519
Sp.graphics.drawTexture()中的color参数使用的时候,会概率性导致整个场景中的节点颜色改变成我们使用过的颜色。 没有进行其他操作 Sp.graphics.drawTexture(_PreloadUrl._list.texture.brushworkCommon.texture, pointArr[index].x - this.DrawControl.radiu...
来源: Laya_社区 发布时间: 20201103
drawTexture 画出来的数据会有以前的数据 private var iconSpr:Sprite; private var htmlCanvas:HTMLCanvas; private var texture:Texture; private var xNum:int = 0; private var yNum:int = 0; private var img:Image; public function TestView() { img = new Image("comp/lhjicon_5.png"); img.x = 640;...
来源: Laya_社区 发布时间: 20180113
图片通过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
...getRes("../../res/apes/monkey2.png"); var ape = new Sprite(); ape.graphics.drawTexture(t, 0, 0); ape.graphics.scale(1.01, 1) Laya.stage.addChild(ape); ape.pos(200, 0); })); 上面这段代码并没有得到图片缩放的效果,看到的现象是图片一直在往左移动 2017-06-09 添加评论 ...
来源: Laya_社区 发布时间: 20170609
...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
...ct_bottom.drawToTexture(100, 100, 0, 0); top_rect.graphics.drawTexture(t, 0, 0, 200, 100); 附件 : --> 2019-07-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 宁远 赞同来自: 找...
来源: Laya_社区 发布时间: 20190730
...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
...l掉帧严重 canvas不会? 用graphics画线时有严重锯齿 graphics drawTexture怎么围绕纹理锚点旋转? graphics画出来的图形如何实现颜色渐变 graphics持续绘制扇形问题 graphics drawTexture怎么围绕纹理锚点旋转? Laya场景编辑时加入的Graphics组件...
来源: Laya_社区 发布时间: 20171108