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

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

571. laya.display.Sprite_API3.0 [ 36%]

...ite);//将此 sprite 对象添加到显示列表。 sprite.on(Event.CLICK, this, onClickSprite);//给 sprite 对象添加点击事件侦听。 shape = new Sprite();//创建一个 Sprite 类的实例对象 sprite 。 shape.graphics.drawRect(0, 0, 100, 100, "#ccff00", "#ff0000", 2);//绘制一个有...

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

572. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 31%]

...box.com/'>LayaBox欢迎你的加入!</span>"; div.on(Event.LINK,this,onLink); Laya.stage.addChild(div); } private function onLink(data:*):void { // TODO Auto Generated method stub Browser.window.location.href=data; }5、实现html页面跳转 示例如下: var iHtml:HTMLIframeElement=ne...

来源: Laya_社区 发布时间: 20161027

573. laya.html.dom.HTMLIframeElement_API3.0 [ 26%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:536 当前容器是否包含指定的 Node 节点对象 ...

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

574. laya.html.dom.HTMLDivElement_API3.0 [ 26%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:536 当前容器是否包含指定的 Node 节点对象 ...

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

575. laya.display.Sprite [ 15%]

...lean (default = false) — (可选)是否极速模式,正常是调用this.x=value进行赋值,极速模式直接调用内部函数处理,如果未重写x,y属性,建议设置为急速模式性能更高。 ReturnsSprite — 返回对象本身。 reCache()method  public function reCache()...

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

576. laya.display.Sprite [ 15%]

...lean (default = false) — (可选)是否极速模式,正常是调用this.x=value进行赋值,极速模式直接调用内部函数处理,如果未重写x,y属性,建议设置为急速模式性能更高。 ReturnsSprite — 返回对象本身。 reCache()method  public function reCache()...

来源: laya_api 发布时间: 20170929