大约有 78 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
...器组件2.2属性设置2.3线段的渲染纹理2.4对比2D线渲染器和Graphics绘制线段三、在代码中使用2D线渲染器组件2D像素线 一、概述 尽管LayaAir引擎提供了绘制图形(Graphics)API用于绘制线段和折线,然而LayaAir3.3开始,提供了更为高级的2...
来源: Laya3.0_文档 发布时间: 20251010
请教文档中Graphic.drawTextures方法第二个参数的具体参数格式 Graphic drawTextures () method public function drawTextures(tex:Texture, pos:Array):void批量绘制同样纹理。 Parameters tex:Texture — 纹理。 pos:Array — 绘制次数和坐标。 请教第二个...
来源: Laya_社区 发布时间: 20170405
...Protected All Inherited Externals Only exported Menu Globals "laya/display/Graphics" Graphics Class Graphics Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对...
来源: Laya3.0_api 发布时间: 20231115
...I DocumentationAll Packages | All Classes | Index | Frames No Frames GraphicsProperties | Methods Packagelaya.displayClasspublic class GraphicsInheritanceGraphics Object Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save...
来源: Laya2.0_api 发布时间: 20190513
...lic/Protected All Inherited Externals Only exported Menu Globals "laya/ani/GraphicsAni" GraphicsAni Class GraphicsAni Graphic动画 Hierarchy Graphics GraphicsAni Index Constructors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage dra...
来源: Laya3.0_api 发布时间: 20231115
...了位置,宽高及九宫格的处理,供UI组件使用。 Hierarchy Graphics AutoBitmap Index Constructors constructor Properties _color uv Accessors cmds color height sizeGrid source width Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLine...
来源: Laya3.0_api 发布时间: 20231115
...I DocumentationAll Packages | All Classes | Index | Frames No Frames GraphicsProperties | Methods Packagelaya.displayClasspublic class GraphicsInheritanceGraphics ObjectSubclasses AutoBitmap, GraphicsGL Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者...
来源: laya_api 发布时间: 20170929
...Laya.loader.load([this.monkey1,this.monkey2],Laya.Handler.create(this,this.graphicsImg)); } private graphicsImg():void{ //创建一个实例 this.img = new Laya.Sprite(); //添加到舞台 Laya.stage.addChild(this.img); //显示初始化绘制的图片 this.switchImg();...
来源: Laya_社区 发布时间: 20180226
...).pos(0, 200);//创建精灵并把它放倒200位置 * sp.graphics.drawTexture(texture);//把截图绘制到精灵上 * Laya.stage.addChild(sp);//把精灵显示到舞台 * * <p>也可以获取原始图片数据,分享到网...
来源: Laya_社区 发布时间: 20180719
...图1-1所示。 (动图1-1) 在IDE中可以通过这些选项来绘制Graphics,如图1-2所示, (图1-2) LayaAir引擎中 laya.display.Graphics 类可以查看到API的各种矢量绘图方法。 drawRect fillText drawPath drawCircle drawPie drawLine drawLines drawPoly drawCurves ...... ...
来源: Laya3.0_文档 发布时间: 20251010