大约有 67 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0071 秒)
...Globals "laya/ui/UIGroup" UIGroup Class UIGroup Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Hierarchy Box UIGroup RadioGroup Tab Index Constructors constructor Properties _extra _ownGraphics _scene _...
来源: Laya3.0_api 发布时间: 20231115
...): void Inherited from UIGroup.direction Defined in laya/ui/UIGroup.ts:443 布局方向。 默认值为"horizontal"。 取值: "horizontal":表示水平布局。 "vertical":表示垂直布局。 Returns string Inherited from UIGroup.direction Defined in laya/ui/UIGroup.ts:447 布局方向。 ...
来源: Laya3.0_api 发布时间: 20231115
...): void Inherited from UIGroup.direction Defined in laya/ui/UIGroup.ts:443 布局方向。 默认值为"horizontal"。 取值: "horizontal":表示水平布局。 "vertical":表示垂直布局。 Returns string Inherited from UIGroup.direction Defined in laya/ui/UIGroup.ts:447 布局方向。 ...
来源: Laya3.0_api 发布时间: 20231115
...某些操作导致的屏幕以外改变Stage screenMode : String 场景布局类型。 取值范围: "none" :不更改屏幕 "horizontal" :自动横屏 "vertical" :自动竖屏 Stage scrollRect : Rectangle 显示对象的滚动矩形范围,具有裁剪效果(如果只想限制子对象...
来源: laya_api 发布时间: 20170929
...得清除其内部的Timer 3.3 获取显示对象边界的做法 在相对布局中,很经常需要正确地获取显示对象的边界。获取显示对象的边界也有多种做法,而其间差异很有必要知道。 使用getBounds/ getGraphicBounds。 var sp=new Laya.Sprite(); sp.graphics....
来源: Laya3.0_文档 发布时间: 20251010
...某些操作导致的屏幕意外改变Stage screenMode : String 场景布局类型。 取值范围: "none" :不更改屏幕 "horizontal" :自动横屏 "vertical" :自动竖屏 Stage scrollRect : Rectangle 显示对象的滚动矩形范围,具有裁剪效果(如果只想限制子对象...
来源: Laya2.0_api 发布时间: 20190513
...ring set direction(value: string): void Defined in laya/ui/FontClip.ts:106 布局方向。 默认值为"horizontal"。 取值: "horizontal":表示水平布局。 "vertical":表示垂直布局。 Returns string Defined in laya/ui/FontClip.ts:110 布局方向。 默认值为"horizontal"。 取...
来源: Laya3.0_api 发布时间: 20231115
...的界面在竖屏下,也会变的不适合。 当然,如果我们的布局策略运用的比较合理,也许也可以兼顾横竖屏的体验。效果如动图1-4所示。 (动图1-4) 虽然不那么难看了,但为了达到最佳的效果,最好的方案,还是竖屏始终与设备竖...
来源: Laya3.0_文档 发布时间: 20251014
...类,2.0开始,更改继承至Scene类,相对于Scene,增加相对布局功能。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景...
来源: Laya2.0_api 发布时间: 20190513
...不到或不小心关掉了,可以按快捷键`F3`恢复为默认面板布局。 - 在`.ani`文件中,场景编辑区的起始坐标(`0,0`)点位于两条红线交叉的中心点。与UI文件的左上角有所不同,大家需要注意。 ### ### 1.2 创建一个位移的时间轴动画 ##...
来源: Laya2.0_文档 发布时间: 20210715