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

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

301. laya.display.Input [ 27%]

...平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Text alpha : Number透明度,值为0-1,默认值为1,表示透明。更改alpha值会影响drawcall。Sprite  asPassword : Boolean 本API已弃用。使用type=...

来源: laya_api 发布时间: 20170929

302. laya.display.Input_API3.0 [ 26%]

...平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Returns string Inherited from Text.align Defined in laya/display/Text.ts:482 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居...

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

303. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 21%]

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

304. laya.ui.CheckBox [ 21%]

...文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button l...

来源: laya_api 发布时间: 20170929

305. laya.ui.Radio [ 20%]

...文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button l...

来源: laya_api 发布时间: 20170929

306. laya.ui.CheckBox [ 20%]

...文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button l...

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

307. laya.ui.Radio [ 20%]

...文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button l...

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

308. laya.ui.Dialog_API3.0 [ 16%]

...nter: boolean = true Defined in laya/ui/Dialog.ts:194 指定对话框是否居中弹。如果值为true,则居中弹出,否则,则根据对象坐标显示,默认为true。 isShowEffect isShowEffect: boolean = true Defined in laya/ui/Dialog.ts:192 是否显示弹出效果 mouseThrough mouseTh...

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

309. laya.ui.VBox_API3.0 [ 10%]

...签 Static CENTER CENTER: string = "center" Defined in laya/ui/VBox.ts:19 居中对齐。 Static LEFT LEFT: string = "left" Defined in laya/ui/VBox.ts:15 左对齐。 Static NONE NONE: string = "none" Defined in laya/ui/VBox.ts:11 无对齐。 Static RIGHT RIGHT: string = "right" Defined in laya/ui/...

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

310. laya.ui.HBox_API3.0 [ 10%]

...。 Static MIDDLE MIDDLE: string = "middle" Defined in laya/ui/HBox.ts:19 居中对齐。 Static NONE NONE: string = "none" Defined in laya/ui/HBox.ts:11 无对齐。 Static TOP TOP: string = "top" Defined in laya/ui/HBox.ts:15 居顶部对齐。 Static drawtocanvCtx drawtocanvCtx: Context Inherited...

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