大约有 142 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0135 秒)
...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
...ocument.createElement("iframe"); iframe.style.position ="absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left ="100px"; iframe.style.top ="100px"; iframe.src = "http://ask.layaair.com/"; Laya.Browser.document.body.appendChild(iframe); 这里...
来源: Laya3.0_文档 发布时间: 20251010
...得清除其内部的Timer 3.3 获取显示对象边界的做法 在相对布局中,很经常需要正确地获取显示对象的边界。获取显示对象的边界也有多种做法,而其间差异很有必要知道。 使用getBounds/ getGraphicBounds。 var sp=new Laya.Sprite(); sp.graphics....
来源: Laya3.0_文档 发布时间: 20251010
...类,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
...某些操作导致的屏幕以外改变Stage screenMode : String 场景布局类型。 取值范围: "none" :不更改屏幕 "horizontal" :自动横屏 "vertical" :自动竖屏 Stage scrollRect : Rectangle 显示对象的滚动矩形范围,具有裁剪效果(如果只想限制子对象...
来源: laya_api 发布时间: 20170929
...某些操作导致的屏幕意外改变Stage screenMode : String 场景布局类型。 取值范围: "none" :不更改屏幕 "horizontal" :自动横屏 "vertical" :自动竖屏 Stage scrollRect : Rectangle 显示对象的滚动矩形范围,具有裁剪效果(如果只想限制子对象...
来源: Laya2.0_api 发布时间: 20190513
...screenMode(value: string): void Defined in laya/display/Stage.ts:728 场景布局类型。 取值范围: "none" :不更改屏幕 "horizontal" :自动横屏 "vertical" :自动竖屏 Returns string Defined in laya/display/Stage.ts:732 场景布局类型。 取值范围: "none" :不更改...
来源: Laya3.0_api 发布时间: 20231115
...u Globals "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 _isW...
来源: Laya3.0_api 发布时间: 20231115
...y exported Menu Globals "laya/ui/VBox" VBox Class VBox VBox 是一个垂直布局容器类。 Hierarchy LayoutBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior isSortItem mouseThrough name tag CENTER LEFT NONE RIGHT drawtocanvCtx Ac...
来源: Laya3.0_api 发布时间: 20231115
...y exported Menu Globals "laya/ui/HBox" HBox Class HBox HBox 是一个水平布局容器类。 Hierarchy LayoutBox HBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag BOTTOM MIDDLE NONE TOP drawtocanvCtx Accessors _is...
来源: Laya3.0_api 发布时间: 20231115