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

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

51. laya.display.Text [ 32%]

...平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Text alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算...

来源: laya_api 发布时间: 20170929

52. laya.display.Text [ 32%]

...平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Text alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算...

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

53. laya.ui.VBox [ 31%]

...dePublic Constants ConstantDefined By  CENTER : String = center[static] 居中对齐。 VBox  LEFT : String = left[static] 左对齐。 VBox  NONE : String = none[static] 无对齐。 VBox  RIGHT : String = right[static] 右对齐。 VBoxProperty Detailwidthpropertywidth:Number[override] Im...

来源: laya_api 发布时间: 20170929

54. laya.ui.HBox [ 31%]

...bottom[static] 居底部对齐。 HBox  MIDDLE : String = middle[static] 居中对齐。 HBox  NONE : String = none[static] 无对齐。 HBox  TOP : String = top[static] 居顶部对齐。 HBoxProperty Detailheightpropertyheight:Number[override] Implementation     public function get heigh...

来源: laya_api 发布时间: 20170929

55. laya.ui.VBox [ 31%]

...dePublic Constants ConstantDefined By  CENTER : String = center[static] 居中对齐。 VBox  LEFT : String = left[static] 左对齐。 VBox  NONE : String = none[static] 无对齐。 VBox  RIGHT : String = right[static] 右对齐。 VBoxProperty Detailwidthpropertywidth:Number[override] Im...

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

56. laya.ui.HBox [ 30%]

...bottom[static] 居底部对齐。 HBox  MIDDLE : String = middle[static] 居中对齐。 HBox  NONE : String = none[static] 无对齐。 HBox  TOP : String = top[static] 居顶部对齐。 HBoxProperty Detailheightpropertyheight:Number[override] Implementation     public function get heigh...

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

57. laya.ui.AsynDialog [ 27%]

...prite popupCenter : Boolean = true 一个布尔值,指定对话框是否居中弹。 如果值为true,则居中弹出,否则,则根据对象坐标显示,默认为true。 Dialog popupEffect : Handler 弹出对话框效果,可以设置一个效果代替默认的弹出效果,如果不...

来源: laya_api 发布时间: 20170929

58. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 27%]

...lob([uint8Array], { type: 'image/png' })); img.centerX = 0; // 设置图片居中显示 // 将图片添加到舞台显示 Laya.stage.addChild(img); } else { console.log("收到数据:", message); } } private onConnectError(): void { console.log("Connection Error"); } } 运行效果如图3-1所示。...

来源: Laya3.0_文档 发布时间: 20250214

59. laya.ui.TextArea [ 26%]

...平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX...

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

60. laya.ui.TextArea [ 26%]

...平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component an...

来源: laya_api 发布时间: 20170929