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

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

2111. laya.ui.ComboBox [ 15%]

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

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

2112. laya.ui.Button [ 15%]

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

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

2113. laya.ui.TextInput [ 15%]

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

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

2114. laya.ui.Dialog [ 15%]

...绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite timer : Timer[override] 场景时钟Scene top : Number 从组件顶边到其内容区域顶边之间的垂直距离...

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

2115. laya.ui.TextInput [ 15%]

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

2116. laya.ui.List [ 14%]

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

2117. 绘制能力 · LayaAir3.4 · 引擎文档 · LAYABOX [ 14%]

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

2118. laya.ui.UIComponent_API3.0 [ 14%]

...数 Hierarchy Sprite UIComponent Box ISelect Button Clip ColorPicker Label Image Slider ScrollBar ComboBox ProgressBar TipManager OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Acces...

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

2119. laya.display.Animation [ 14%]

...的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用play(...)可以播放指定动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined ...

来源: laya_api 发布时间: 20170929

2120. laya.display.Input [ 14%]

...绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite textWidth : Number[read-only] 表示文本的宽度,以像素为单位。 Text transform : Matrix 对象的矩阵...

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