大约有 142 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0072 秒)
...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
...t window(): any { return Browser._window || Browser.__init__(); } /**画布容器,用来盛放画布的容器。方便对画布进行控制*/ static get container(): any { if (!Browser._container) { Browser.__init__(); Browser._container = Browser.createElement("div"); Browser._container.id = "lay...
来源: Laya3.0_文档 发布时间: 20251010
...域的对象尽量从显示列表移除或者设置visible=false。 对于容器内有大量静态内容或者不经常变化的内容(比如按钮),可以对整个容器设置cacheAs属性,能大量减少Sprite的数量,显著提高性能。如果有动态内容,最好和静态内容分...
来源: Laya3.0_文档 发布时间: 20251010
...存开销,无需renderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 View centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心...
来源: Laya2.0_api 发布时间: 20190513
... width : Number[override] Stage x : Number表示显示对象相对于父容器的水平方向坐标值。Sprite y : Number表示显示对象相对于父容器的垂直方向坐标值。Sprite zOrder : Numberz排序,更改此值,则会按照值的大小对同一容器的所有对象重新排...
来源: laya_api 发布时间: 20170929
...象图像的实际宽度。 Stage x : Number表示显示对象相对于父容器的水平方向坐标值。Sprite y : Number表示显示对象相对于父容器的垂直方向坐标值。Sprite zOrder : Numberz排序,更改此值,则会按照值的大小对同一容器的所有对象重新排...
来源: Laya2.0_api 发布时间: 20190513
...Text.x Defined in laya/display/Sprite.ts:419 表示显示对象相对于父容器的水平方向坐标值。 Returns number Inherited from Text.x Defined in laya/display/Sprite.ts:423 表示显示对象相对于父容器的水平方向坐标值。 Parameters value: number Returns void y get y(): num...
来源: Laya3.0_api 发布时间: 20231115
...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
...rted 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 Accessor...
来源: Laya3.0_api 发布时间: 20231115
...rted 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 _isHeight...
来源: Laya3.0_api 发布时间: 20231115