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

大约有 62 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0073 秒)

1. laya.ui.HScrollBar_API3.0 [ 100%]

...bals "laya/ui/HScrollBar" HScrollBar Class HScrollBar 使用 HScrollBar (水平 ScrollBar )控件,可以在因数据太多而不能在显示区域完全显示时控制显示的数据部分。 example 以下示例代码,创建了一个 HScrollBar 实例。 package { import laya.ui.HScrollBar;...

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

2. laya.ui.VScrollBar_API3.0 [ 98%]

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

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

3. laya.ui.ScrollBar_API3.0 [ 98%]

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

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

4. laya.ui.List_API3.0 [ 94%]

...m;//设置 list 的单元格渲染器。 list.repeatX = 1;//设置 list 的水平方向单元格数量。 list.repeatY = 10;//设置 list 的垂直方向单元格数量。 list.vScrollBarSkin = "resource/ui/vscroll.png";//设置 list 的垂直方向滚动条皮肤。 list.array = arr;//设置 list ...

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

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

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

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

6. laya.display.css.SpriteStyle_API3.0 [ 88%]

...角度 scaleX scaleX: number Defined in laya/display/css/SpriteStyle.ts:14 水平缩放 scaleY scaleY: number Defined in laya/display/css/SpriteStyle.ts:16 垂直缩放 scrollRect scrollRect: Rectangle Defined in laya/display/css/SpriteStyle.ts:30 滚动区域 skewX skewX: number Defined in laya/dis...

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

7. laya.ui.TextArea_API3.0 [ 88%]

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

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

8. laya.display.Sprite_API3.0 [ 79%]

...显示图片。 sprite.x = 200;//设置 sprite 对象相对于父容器的水平方向坐标值。 sprite.y = 200;//设置 sprite 对象相对于父容器的垂直方向坐标值。 sprite.pivotX = 0;//设置 sprite 对象的水平方法轴心点坐标。 sprite.pivotY = 0;//设置 sprite 对象的...

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

9. laya.ui.ComboBox_API3.0 [ 79%]

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

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

10. laya.ui.FontClip_API3.0 [ 74%]

...gn(): string set align(v: string): void Defined in laya/ui/FontClip.ts:142 水平对齐方式 Returns string Defined in laya/ui/FontClip.ts:136 水平对齐方式 Parameters v: string Returns void alpha get alpha(): number set alpha(value: number): void Inherited from Text.alpha Defined in laya/disp...

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