大约有 204 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0034 秒)
...Matrix(); matrix.rotate(Math.PI/4); matrix.translate(150,100); sp.graphics.drawTexture(texture,0,0,texture.width,texture.height,matrix); sp.graphics.drawRect(100,50,200,90,'#000000'); Laya.stage.addChild(sp); } } } 2017-04-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20170414
...or:* = null, lineWidth:Number = 1):DrawRectCmd 绘制矩形。 Graphics drawTexture(texture:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, matrix:Matrix = null, alpha:Number = 1, color:String = null, blendMode:String = null):DrawTextureCmd 绘制纹理,相比drawImage...
来源: Laya2.0_api 发布时间: 20190513
...I DocumentationAll Packages | All Classes | Index | Frames No Frames DrawTextureCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawTextureCmdInheritanceDrawTextureCmd Object 绘制单个贴图 Public Properties PropertyDefined By alpha : Number (可选)...
来源: Laya2.0_api 发布时间: 20190513
...微博 QZONE 微信 cuixueying 赞同来自: 你把drawImage改成graphics.drawTexture吧 1、drawImage不确定是什么时候加载完成 2、transform的设置必须在绘图命令之前 所以,会出现save后,显示对象的transform设置无效,改成texture就OK了! 2017-06-12 0 0 分...
来源: Laya_社区 发布时间: 20170609
...lineColor:* = null, lineWidth:Number = 1):void 绘制矩形。 Graphics drawTexture(tex:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, m:Matrix = null, alpha:Number = 1):Array 绘制纹理。 Graphics drawTextures(tex:Texture, pos:Array):void 批量绘制同样纹理...
来源: laya_api 发布时间: 20170929
...ected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawTextureCmd" DrawTextureCmd Class DrawTextureCmd 绘制单个贴图 Hierarchy DrawTextureCmd Index Properties alpha blendMode color height matrix texture uv width x y ID Methods recover Properties alpha alpha: number Defin...
来源: Laya3.0_api 发布时间: 20231115
... 解答:beginBitmapFill方法已经没有了,可以使用sp.graphics.drawTexture实现类似功能 graphcis Lines 请参考:根据指定的路径数据绘制出图案以及展示Graphics提供的绘图API 第三个问题:关于创建 Graphics 类的 beginGradientFill() 和 lineGradien...
来源: Laya_社区 发布时间: 20160627
...olor:* = null, lineWidth:Number = 1):DrawRectCmd 绘制矩形。 Graphics drawTexture(texture:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, matrix:Matrix = null, alpha:Number = 1, color:String = null, blendMode:String = null):DrawTextureCmd 绘制纹理,相比drawImage...
来源: Laya2.0_api 发布时间: 20190513
...xture = Laya.loader.getRes(imgUrl); //绘制纹理 this.img.graphics.drawTexture(texture); //设置纹理宽高 this.img.size(texture.width, texture.height); <!-- 我想把加粗部分换成 this.img.graphics.drawTexture(Laya.loader.getRes(imgUrl),100,50,60,60); 为什么就不...
来源: Laya_社区 发布时间: 20180226
...ain Methods _drawCircle _drawLine _drawLines _drawPath _drawPie _drawPoly _drawTextureM _init _need _rotate _scale _transform addRenderObject3D add_String add_i add_i_String add_if add_iff add_iffff add_ifffff add_iffffff add_iffffffif add_ifffffiiiif add_ifffiiiif add_iffif add_iffif_ab add_iffiiii...
来源: Laya3.0_api 发布时间: 20231102