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

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

31. 文本进阶使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 54%]

...ram color 定义文本颜色,比如"#ff0000"。 * @param textAlign 文本对齐方式,可选值:"left","center","right"。 */ fillText(text: string | WordText, x: number, y: number, font: string, color: string, textAlign: string): FillTextCmd { return this.addCmd(FillTextCmd.create(text, x...

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

32. laya.ui.Button [ 48%]

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

来源: laya_api 发布时间: 20170929

33. laya.ui.Button [ 47%]

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

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

34. laya.ui.CheckBox_API3.0 [ 43%]

...id Inherited from Button.labelAlign Defined in laya/ui/Button.ts:601 标签对齐模式, Returns string Inherited from Button.labelAlign Defined in laya/ui/Button.ts:606 标签对齐模式, Parameters value: string Returns void labelBold get labelBold(): boolean set labelBold(value: boolean): vo...

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

35. laya.ui.Button_API3.0 [ 43%]

...set labelAlign(value: string): void Defined in laya/ui/Button.ts:601 标签对齐模式, Returns string Defined in laya/ui/Button.ts:606 标签对齐模式, Parameters value: string Returns void labelBold get labelBold(): boolean set labelBold(value: boolean): void Defined in laya/ui/Button.ts:5...

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

36. laya.ui.Radio_API3.0 [ 42%]

...id Inherited from Button.labelAlign Defined in laya/ui/Button.ts:601 标签对齐模式, Returns string Inherited from Button.labelAlign Defined in laya/ui/Button.ts:606 标签对齐模式, Parameters value: string Returns void labelBold get labelBold(): boolean set labelBold(value: boolean): vo...

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

37. []LayaTree v1.0.5版本更新(2021.11.17) [ 42%]

...基于拾色器的颜色调整​ 使用下拉框来选择文本的水平对齐和垂直对齐方式 字体大小,粗细,描边,overflow超出行为随意调节 5. 基于AOP的暂停与单帧调试运行,能够在不修改源码的情况下控制引擎循环(需要注意的是,与Unity类似,...

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

38. laya.ui.VBox_API3.0 [ 41%]

...tatic 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/VBox....

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

39. laya.ui.HBox_API3.0 [ 41%]

...ic BOTTOM BOTTOM: string = "bottom" Defined in laya/ui/HBox.ts:23 居底部对齐。 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/HB...

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

40. laya.ui.CheckBox [ 37%]

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

来源: laya_api 发布时间: 20170929