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

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

121. laya.display.Stage [ 53%]

...es Show Inherited Public Properties PropertyDefined By  alignH : String 水平对齐方式。默认值为"left"。 取值范围: "left" :居左对齐; "center" :居中对齐; "right" :居右对齐; Stage  alignV : String 垂直对齐方式。默认值为"top"。 取值范围: "t...

来源: laya_api 发布时间: 20170929

122. laya.ui.Label [ 53%]

...y] 获取在场景中是否激活。 Node  align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值...

来源: Laya2.0_api 发布时间: 20190513

123. laya.ui.FontClip_API3.0 [ 53%]

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

124. 调用JSMpeg会闪屏 [ 53%]

调用JSMpeg会闪屏 Laya.init(720,1280,WebGL); Stat.show(); //设置水平对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; //设置垂直对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //设置适配模式 Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; //设置横竖屏 Laya.stage.screenMode = Stage.S...

来源: Laya_社区 发布时间: 20171115

125. laya.ui.CheckBox [ 53%]

...nderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(...

来源: Laya2.0_api 发布时间: 20190513

126. laya.ui.HSlider_API3.0 [ 53%]

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

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

127. laya.ui.Clip [ 52%]

...用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(以...

来源: laya_api 发布时间: 20170929

128. laya.ui.MoreGame [ 52%]

...nderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 View centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(以像素...

来源: Laya2.0_api 发布时间: 20190513

129. laya.ui.Radio [ 52%]

...nderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(...

来源: Laya2.0_api 发布时间: 20190513

130. laya.ui.Image [ 52%]

...nderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(...

来源: Laya2.0_api 发布时间: 20190513