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

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

1. laya.display.Sprite_API3.0 [ 100%]

...者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般...

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

2. laya.ui.ScaleBox_API3.0 [ 93%]

...ted Menu Globals "laya/ui/ScaleBox" ScaleBox Class ScaleBox 自适应缩放容器容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Hierarchy Box ScaleBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url a...

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

3. laya.ui.Panel_API3.0 [ 92%]

...ported Menu Globals "laya/ui/Panel" Panel Class Panel Panel 是一个面板容器类。 Hierarchy Box Panel Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activ...

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

4. laya.display.Scene_API3.0 [ 91%]

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

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

5. laya.ui.Box_API3.0 [ 91%]

...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

6. laya.ui.UIComponent_API3.0 [ 91%]

...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

7. laya.ui.View_API3.0 [ 91%]

...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

8. laya.ui.LayoutBox_API3.0 [ 91%]

...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

9. laya.ui.VBox_API3.0 [ 90%]

...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

10. laya.ui.HBox_API3.0 [ 90%]

...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