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

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

41. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...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_文档 发布时间: 20251010

42. laya.ui.Label [ 39%]

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

来源: laya_api 发布时间: 20170929

43. laya.ui.Label [ 39%]

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

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

44. laya.display.Text [ 35%]

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

来源: laya_api 发布时间: 20170929

45. laya.display.Text [ 35%]

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

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

46. laya.ui.VBox [ 34%]

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

47. laya.ui.HBox [ 33%]

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

48. laya.ui.VBox [ 33%]

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

49. laya.ui.HBox [ 33%]

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

50. laya.ui.TextArea [ 29%]

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

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