大约有 20 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0031 秒)
...矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把...
来源: Laya3.0_api 发布时间: 20231115
...tBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): GraphicsAni Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns GraphicsAni Accessors cmds get cmds(): any[] set cmds(value: ...
来源: Laya3.0_api 发布时间: 20231115
...oadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns AutoBitmap Properties _color _color: string = "#ffffff" Defined in laya/ui/Aut...
来源: Laya3.0_api 发布时间: 20231115
...矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把...
来源: laya_api 发布时间: 20170929
...graphics.save(); var matrix:Matrix=new Matrix(); matrix.rotate(45); matrix.translate(100,100); sp.graphics.transform(matrix); sp.graphics.drawRect(0,0,200,100,"#FF0000"); sp.graphics.restore(); Laya.stage.addChild(sp);我测试没有问题,可以把你详细的代码发下,我们看下! 2017-0...
来源: Laya_社区 发布时间: 20170609
...ar camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0....
来源: Laya_示例 发布时间: 20250220
...矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把...
来源: Laya2.0_api 发布时间: 20190513
...矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。Graphics以命令流方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把大...
来源: Laya_社区 发布时间: 20171221
...ar camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.9, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0....
来源: Laya_示例 发布时间: 20250220
...Sprite(); var matrix:Matrix=new 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 微信 为什么...
来源: Laya_社区 发布时间: 20170414