大约有 191 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)
...原生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean...
来源: laya_api 发布时间: 20170929
...原生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean...
来源: laya_api 发布时间: 20170929
...laya.displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销...
来源: laya_api 发布时间: 20170929
... Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displ...
来源: Laya3.0_api 发布时间: 20231102
... Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displ...
来源: Laya3.0_api 发布时间: 20231102
... Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight ...
来源: Laya3.0_api 发布时间: 20231115
...drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 htmlCanvas.toBase64("image/png",0.9);//打印图片base64信息,可以发给服务器或者保存为图片 Sprite drawToTexture(canvasWidth:Number, canvasHeight:Number, offsetX:Number, offsetY:Number):TextureSprite event(type:String, ...
来源: Laya2.0_api 发布时间: 20190513
... Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight ...
来源: Laya3.0_api 发布时间: 20231115
...te", "Mesh Rate"), tips: myI18n.t("meshRateTips", "Compress the model mesh based on the set ratio."), } ] } 可以多次调用setContent添加不同语言的翻译,下面的例子添加了语言en的翻译,所以在应用t函数时可以省略默认值。 //第二个参数是备用语言ID,默...
来源: Laya3.0_文档 发布时间: 20251010
... Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoPlay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displ...
来源: Laya3.0_api 发布时间: 20231115