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

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

811. laya.ui.HScrollBar [ 34%]

...mlCanvas.getCanvas();//获取原生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Arra...

来源: laya_api 发布时间: 20170929

812. laya.ui.ScrollBar [ 34%]

...绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite  thumbPercent : Number获取或设置一个值,该值表示滑条长度比例,值为:(0-1)。 ScrollBar ...

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

813. laya.ui.Tree [ 34%]

...绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠...

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

814. laya.ui.Radio [ 34%]

...于未选中状态。 Button sizeGrid : String 当前实例的位图 AutoImage 实例的有效缩放网格数据。 数据格式:"上边距,右边距,下边距,左边距,是否重复填充(值为0:不重复填充,1:重复填充)",以逗号分隔。 例如:"4,4,4,4,1" Button skewX : Num...

来源: laya_api 发布时间: 20170929

815. laya.ui.RadioGroup [ 33%]

...绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠...

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

816. laya.ui.ComboBox_API3.0 [ 33%]

..._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 removeSelf render repaint ...

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

817. 显存优化:纹理压缩的使用(TypeScript-2D进阶篇(TS)-性能优化) [ 33%]

...tlas/comp.atlas"], Laya.Handler.create(this, () => { this.aaa.skin = "comp/image.png"; })); ``` 通过示例代码,我们可以看到,图集的纹理压缩的代码使用是无感的,和普通的图集使用方式完全相同。 ## 本文赞赏 如果您觉得本文对您有帮助,欢迎扫...

来源: Laya2.0_文档 发布时间: 20210714

818. laya.ui.VScrollBar [ 33%]

...绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite thumbPercent : Number获取或设置一个值,该值表示滑条长度比例,值为:(0-1)。 ScrollBar tic...

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

819. laya.ui.CheckBox_API3.0 [ 33%]

..._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 removeSelf render repaint ...

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

820. laya.ui.Button_API3.0 [ 33%]

..._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 removeSelf render repaint ...

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