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

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

61. laya.ui.HSlider_API3.0 [ 48%]

..._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

62. laya.ui.VSlider_API3.0 [ 48%]

..._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

63. laya.ui.UIGroup [ 47%]

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

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

64. laya.ui.RadioGroup [ 47%]

...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

65. laya.ui.CheckBox [ 47%]

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

来源: laya_api 发布时间: 20170929

66. laya.ui.ProgressBar_API3.0 [ 47%]

..._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

67. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 47%]

...+ ''; var DOMURL = window.URL || window.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); ``` 怎么运行上...

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

68. laya.ui.ScrollBar [ 47%]

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

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

69. 自动图集配置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...egClass() export class NewScript extends Laya.Script { declare owner: Laya.Image; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { //需要先加载图集再使用,注意,图集要放到resources目录下或者在构建发布配置项里手动添加为始终包...

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

70. laya.ui.CheckBox [ 46%]

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

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