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

大约有 417 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0056 秒)

411. 绘制能力 · LayaAir3.3 · 引擎文档 · LAYABOX [ 15%]

...eight, sizeGrid, false, color)); } 代码示例: Laya.loader.load("atlas/comp/image.png").then((res: Laya.Texture) => { let sp = new Laya.Sprite(); // 绘制九宫格纹理 sp.graphics.draw9Grid(res, 0, 0, 1024, 626, [0, 0, 0, 0, 1]); this.owner.addChild(sp); }); 运行效果: (图9-2) ...

来源: Laya3.0_文档 发布时间: 20251010

412. laya.display.Input [ 14%]

...件检测依据。 Stage对象和UI的View组件默认为true。 Sprite isComplexText : Boolean = false[static] WebGL下,文字会被拆分为单个字符进行渲染,一些语系不能拆开显示,比如阿拉伯文,这时可以设置isComplexText=true,禁用文字拆分。Text  isInpu...

来源: Laya2.0_api 发布时间: 20190513

413. laya.display.Animation [ 14%]

...位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode addLabel(label:String, index:int):void 增加一个帧标签到指定索引的...

来源: Laya2.0_api 发布时间: 20190513

414. laya.ui.List [ 14%]

...thods | Events Packagelaya.uiClasspublic class ListInheritanceList Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Properties ...

来源: Laya2.0_api 发布时间: 20190513

415. laya.display.Text [ 14%]

...检测依据。 Stage对象和UI的View组件默认为true。 Sprite  isComplexText : Boolean = false[static] WebGL下,文字会被拆分为单个字符进行渲染,一些语系不能拆开显示,比如阿拉伯文,这时可以设置isComplexText=true,禁用文字拆分。Text  italic ...

来源: Laya2.0_api 发布时间: 20190513

416. laya.display.Stage [ 13%]

...位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数...

来源: Laya2.0_api 发布时间: 20190513

417. laya.display.Sprite [ 12%]

...位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数...

来源: Laya2.0_api 发布时间: 20190513