• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 64 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0064 秒)

1. laya.ui.AutoBitmap_API3.0 [ 100%]

...e drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage 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 Au...

来源: Laya3.0_api 发布时间: 20231115

2. laya.ani.GraphicsAni_API3.0 [ 96%]

...e drawTextures drawTriangles fillBorderText fillText fillTexture getBounds 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 Re...

来源: Laya3.0_api 发布时间: 20231115

3. laya.display.Animation_API3.0 [ 95%]

...画的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用play(...)可以播放指定动画。 example 以下示例代码,创建了一个 Text 实例。 package { import laya.display.Animatio...

来源: Laya3.0_api 发布时间: 20231115

4. laya.display.Graphics_API3.0 [ 92%]

...e drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate Constructors constructor new Graphics(): Graphics Defined in laya/display/Graphics.ts:54 Returns Graphics Accessors cmds get cmds(): any[] set cmds(...

来源: Laya3.0_api 发布时间: 20231115

5. laya.display.Sprite_API3.0 [ 91%]

... = new Sprite();//创建一个 Sprite 类的实例对象 sprite 。 sprite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sprite 对象相对于父容器的水平方向坐标值。 sprite.y = 200;//设置 sprite 对象相对于父容器的垂直方向坐标值。 ...

来源: Laya3.0_api 发布时间: 20231115

6. laya.display.Stage_API3.0 [ 78%]

... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal needUpdateCanvasSize off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren r...

来源: Laya3.0_api 发布时间: 20231115

7. laya.display.Text_API3.0 [ 76%]

... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache refreshLayout removeChild removeChildAt removeChildByName removeChildren removeSe...

来源: Laya3.0_api 发布时间: 20231115

8. laya.html.dom.HTMLIframeElement_API3.0 [ 73%]

... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeInputChild remov...

来源: Laya3.0_api 发布时间: 20231102

9. laya.display.Input_API3.0 [ 73%]

... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal miniGameTxt off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache refreshLayout removeChild removeChildAt removeChildByName removeChild...

来源: Laya3.0_api 发布时间: 20231115

10. laya.html.dom.HTMLDivElement_API3.0 [ 72%]

... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeInputChild remov...

来源: Laya3.0_api 发布时间: 20231102