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

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

31. 节点组件的详细介绍(TypeScript-IDE篇(TS)-设计模式基础) [ 55%]

...,那你很可能会遇到坑,比如Sprite不支持9宫格,缩放后对齐有问题,不支持相对布局等。 Text是最基础的文本对象,负责文本的显示。这与UI组件中的Label也有区别。比如,Text不支持相对布局等。 HTMLDivElement是富文本显示组件,...

来源: Laya2.0_文档 发布时间: 20210714

32. 文本进阶使用 · LayaAir3.0文档 · LAYABOX [ 55%]

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

33. laya.ui.Button [ 48%]

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

来源: laya_api 发布时间: 20170929

34. laya.ui.Button [ 47%]

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

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

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

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

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

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