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

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

311. laya.ui.View_API3.0 [ 71%]

...id Inherited from Scene.centerX Defined in laya/display/Scene.ts:292 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Inherited from Scene.centerX Defined in laya/display/Scene.ts:296 在父容器中,此对...

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

312. laya.ui.DialogManager_API3.0 [ 71%]

...logManager" DialogManager Class DialogManager DialogManager 对话框管理容器,所有的对话框都在该容器,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通过UIConfig设置弹出框背景透明度,模式窗口点击...

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

313. laya.ui.Button_API3.0 [ 70%]

...rited from UIComponent.centerX Defined in laya/ui/UIComponent.ts:226 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Inherited from UIComponent.centerX Defined in laya/ui/UIComponent.ts:230 在父容器中,...

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

314. 【简单跑酷--JS版】---Lv.3 添加地板 [ 70%]

... = Floor.prototype; _proto.init = function(){ //如果不开启autoSize 父容器的宽度和高度无法获取 this.autoSize = true; //初始化的时候将坐标放到屏幕右边 this.x = 852; //y坐标取一个随机值 为什么是32 因为我们的整个素材是 32 * 20 拼起来的 this.y = ...

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

315. laya.html.dom.HTMLDivElement_API3.0 [ 70%]

...签如下: a:链接标签,点击后会派发"link"事件 比如:a div:div容器标签,比如:abc span:行元素标签,比如:abc p:行元素标签,p标签会自动换行,div不会,比如:abc img:图片标签,比如: br:换行标签,比如:abcdef style:样式标签,比如:abc lin...

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

316. laya.ui.UIComponent_API3.0 [ 70%]

...t centerX(value: number): void Defined in laya/ui/UIComponent.ts:226 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Defined in laya/ui/UIComponent.ts:230 在父容器中,此对象的水平方向中轴线与...

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

317. laya.ui.Box_API3.0 [ 70%]

...ly exported Menu Globals "laya/ui/Box" Box Class Box Box 类是一个控件容器类。 Hierarchy UIComponent Box List LayoutBox Panel UIGroup ScaleBox Tree ViewStack Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag dr...

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

318. 按照官网教程设置添加自己生成的字体还是有问题,麻烦帮我看下是那里问题? [ 70%]

...,为什么不显示? 微信小游戏如何使用ttf字体? 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景的元...

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

319. laya.display.Text [ 70%]

...;否则不自动换行。 Text x : Number表示显示对象相对于父容器的水平方向坐标值。Sprite y : Number表示显示对象相对于父容器的垂直方向坐标值。Sprite zOrder : Numberz排序,更改此值,则会按照值的大小对同一容器的所有对象重新排...

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

320. laya.ui.LayoutBox_API3.0 [ 70%]

...als "laya/ui/LayoutBox" LayoutBox Class LayoutBox LayoutBox 是一个布局容器类。 Hierarchy Box LayoutBox HBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSe...

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