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

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

71. laya.display.Stage [ 66%]

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

来源: laya_api 发布时间: 20170929

72. laya.html.dom.HTMLDivElement [ 66%]

...tical-align:top|bottom|middle; 垂直对齐方式 align:left|right|center; 水平对齐方式 line-height:20px; 行高 background-color:#ff0000; 背景颜色 border-color:#ff0000; 边框颜色 width:100px; 对象宽度 height:100px; 对象高度 示例用法: var div:HTMLDivElement=new HTMLDivElem...

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

73. laya.ui.ComboBox [ 65%]

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

来源: laya_api 发布时间: 20170929

74. laya.display.Sprite [ 65%]

...aleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprite  scaleY : NumberY轴缩放值,默认值为1。设置为负数,可以实现垂直反转效果,比如scaleX=-1。Sprite scene : *[read-only] 获得所属场景。 Node  s...

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

75. laya.ui.TextInput [ 65%]

...rited Public Properties PropertyDefined By align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值...

来源: laya_api 发布时间: 20170929

76. laya.display.Sprite [ 65%]

...aleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprite  scaleY : NumberY轴缩放值,默认值为1。设置为负数,可以实现垂直反转效果,比如scaleX=-1。Sprite  scrollRect : Rectangle 显示对象的滚动矩形...

来源: laya_api 发布时间: 20170929

77. laya.ui.Tree [ 65%]

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

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

78. laya.ui.Button [ 65%]

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

来源: laya_api 发布时间: 20170929

79. laya.ui.TextArea_API3.0 [ 65%]

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

80. laya.display.Sprite_API3.0 [ 65%]

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

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