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

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

1. laya.display.css.TextStyle_API3.0 [ 100%]

... 文字颜色 font font: string Defined in laya/display/css/TextStyle.ts:6 字体 fontSize fontSize: number Defined in laya/display/css/TextStyle.ts:8 字号 italic italic: boolean Defined in laya/display/css/TextStyle.ts:17 表示使用此文本格式的文本是否为斜体。 default false leadin...

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

2. laya.html.dom.HTMLDivElement_API3.0 [ 53%]

...|false; 是否是粗体 letter-spacing:10px; 字间距 font-family:宋体; 字体 font-size:20px; 字体大小 font-weight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体颜色 stroke:2px; 字体描边宽度 strokeColor:#ff0000; 字体描边颜色 padding:10px 10px 20px 20px; ...

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

3. laya.ui.FontClip_API3.0 [ 47%]

...nals Only exported Menu Globals "laya/ui/FontClip" FontClip Class FontClip 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应的字体内容sheet(如果多行...

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

4. laya.ui.ComboBox_API3.0 [ 38%]

...: number): void Defined in laya/ui/ComboBox.ts:504 下拉列表项标签的字体大小。 Returns number Defined in laya/ui/ComboBox.ts:508 下拉列表项标签的字体大小。 Parameters value: number Returns void labelBold get labelBold(): boolean set labelBold(value: boolean): void Defined in...

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

5. laya.ui.Label_API3.0 [ 38%]

... Label 类的实例对象 label 。 label.font = "Arial";//设置 label 的字体。 label.bold = true;//设置 label 显示为粗体。 label.leading = 4;//设置 label 的行间距。 label.wordWrap = true;//设置 label 自动换行。 label.padding = "10,10,10,10";//设置 label 的边距。 lab...

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

6. laya.ui.TextInput_API3.0 [ 38%]

...ut 的文本颜色。 textInput.font = "Arial";//设置 textInput 的文本字体。 textInput.bold = true;//设置 textInput 的文本显示为粗体。 textInput.fontSize = 30;//设置 textInput 的字体大小。 textInput.wordWrap = true;//设置 textInput 的文本自动换行。 textInput.x = ...

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

7. laya.ui.TextArea_API3.0 [ 38%]

... textArea 的文本颜色。 textArea.font = "Arial";//设置 textArea 的字体。 textArea.bold = true;//设置 textArea 的文本显示为粗体。 textArea.fontSize = 20;//设置 textArea 的文本字体大小。 textArea.wordWrap = true;//设置 textArea 的文本自动换行。 textArea.x = 10...

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

8. laya.ui.Button_API3.0 [ 34%]

... string): void Defined in laya/ui/Button.ts:588 表示按钮文本标签的字体名称,以字符串形式表示。 Returns string Defined in laya/ui/Button.ts:593 表示按钮文本标签的字体名称,以字符串形式表示。 Parameters value: string Returns void labelPadding get labelPadd...

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

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

...tton.labelFont Defined in laya/ui/Button.ts:588 表示按钮文本标签的字体名称,以字符串形式表示。 Returns string Inherited from Button.labelFont Defined in laya/ui/Button.ts:593 表示按钮文本标签的字体名称,以字符串形式表示。 Parameters value: string Returns...

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

10. laya.ui.Radio_API3.0 [ 34%]

...tton.labelFont Defined in laya/ui/Button.ts:588 表示按钮文本标签的字体名称,以字符串形式表示。 Returns string Inherited from Button.labelFont Defined in laya/ui/Button.ts:593 表示按钮文本标签的字体名称,以字符串形式表示。 Parameters value: string Returns...

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