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

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

31. laya.display.Input_API3.0 [ 41%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值的大小对同一容器的所有对象重新排序。值越大,越靠上。默认...

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

32. laya.ui.TextInput [ 40%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

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

33. laya.display.Input [ 39%]

...默认会把 "黑体" 映射为 "黑体-简",更多映射,可以添加Text fontSize : int 指定文本的字体大小(以像素为单位)。 默认为20像素,可以通过 Text.defaultFontSize 设置默认大小。 Text globalRotation : Number[read-only] 获得相对于stage的全...

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

34. laya.ui.UIGroup [ 39%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[read-only] 显示对象的实际显示区域高度(以像素...

来源: laya_api 发布时间: 20170929

35. laya.ui.UIGroup [ 39%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

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

36. laya.ui.Button [ 38%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties PropertyDefined By  measureHeight : Number[override] [read-only] 显示对象的实际显示区域高度(以像素为单位)。 Button  measureWidth : Number[override] [r...

来源: laya_api 发布时间: 20170929

37. laya.ui.Button [ 37%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

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

38. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...,这里用的是这个地址。 新建个项目,把下载的qrcode.js添加index.html中。qrcode的api请参考地址。具体的逻辑代码如下: var div:any = Laya.Browser.document.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div,{ width:100, height:100 }); var ur...

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

39. laya.ui.ComboBox_API3.0 [ 34%]

...行的处理器。 Laya.stage.addChild(comboBox);//将此 comboBox 对象添加显示列表。 } private function onSelect(index:int):void { trace("当前选中的项对象索引: ",index); } } } example Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置...

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

40. laya.ui.FontClip_API3.0 [ 33%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值的大小对同一容器的所有对象重新排序。值越大,越靠上。默认...

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