大约有 140 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0033 秒)
...","sprite截图","清理"]; this._canvas = null; this.aimSp = null; this.drawImage = null; this.drawSp = null; this.monkeyTexture = null; // 不支持WebGL时自动切换至Canvas Config.preserveDrawingBuffer =true; Laya.init(Browser.clientWidth, Browser.clientHeight); Laya.stage.alignV = Stage.ALIG...
来源: Laya2.0_示例 发布时间: 20241118
drawImage执行后像素信息绘制到哪里了 sprite.drawImage(textrue,0,0); 执行后sprite.textrue并没有变化,但显示内容确实改变了。drawImage绘制的信息存储在什么位置 2018-11-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20181121
... 2017-06-09 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 你把drawImage改成graphics.drawTexture吧 1、drawImage不确定是什么时候加载完成 2、transform的设置必须在绘图命令之前 所以,会出现save后,显示对象的transform设置无效,改成texture就OK...
来源: Laya_社区 发布时间: 20170609
...hods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate...
来源: Laya3.0_api 发布时间: 20231115
...hods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale setState strokeText transform ...
来源: Laya3.0_api 发布时间: 20231115
...hods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate...
来源: Laya3.0_api 发布时间: 20231115
..., lineWidth:Number = 1):DrawCurvesCmd 绘制一系列曲线。 Graphics drawImage(texture:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0):DrawImageCmd 绘制单独图片 Graphics drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineColor:String, lineWidth:...
来源: Laya2.0_api 发布时间: 20190513
...:*, lineWidth:Number = 1):DrawCurvesCmd 绘制一系列曲线。 Graphics drawImage(texture:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0):DrawImageCmd 绘制单独图片 Graphics drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineColor:String, lineWidth:Nu...
来源: Laya2.0_api 发布时间: 20190513
...t32Array([0,0,1,0,1,1,0,1]), new Uint16Array([0,1,2,2,3,0]) ); sp.graphics.drawImage(tex, 100, 0); })); } } new Sprite_DisplayImage(); 贴入官方引擎示例重现 附件 : --> 2019-08-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20190829
...tT:Texture = new Texture(htmlC); var img:Sprite = new Sprite; img.graphics.drawImage(interceptT, 0, 0, btn_edit.width, btn_edit.height); Laya.stage.addChild(img); 如图和代码(一个按钮点击后draw图然后加入stage) 只要添加至stage后,随后就会出现这个错误,跟踪...
来源: Laya_社区 发布时间: 20190422