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

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

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

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

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

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

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

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

...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.TextArea_API3.0 [ 93%]

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

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

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

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

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

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

7. laya.ui.VScrollBar_API3.0 [ 90%]

...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.ui.HSlider_API3.0 [ 89%]

...滑块轨道的终点之间移动滑块来选择值。 HSlider 控件采用水平方向。滑块轨道从左向右扩展,而标签位于轨道的顶部或底部。 example 以下示例代码,创建了一个 HSlider 实例。 package { import laya.ui.HSlider; import laya.utils.Handler; public cla...

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

9. laya.ui.ScrollBar_API3.0 [ 89%]

...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.RadioGroup_API3.0 [ 89%]

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