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

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

1. laya.d3.text.TextMesh_API3.0 [ 100%]

...fontSize(value: number): void Defined in laya/d3/text/TextMesh.ts:32 获取字体尺寸。 Returns number 字体尺寸。 Defined in laya/d3/text/TextMesh.ts:40 设置字体储存。 Parameters value: number 字体尺寸。 Returns void 字体尺寸。 text get text(): string set text(value: string)...

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

2. laya.display.Graphics_API3.0 [ 79%]

...绘制文本的 y 坐标位置(相对于画布)。 font: string 定义字体和字号,比如"20px Arial"。 fillColor: string 定义文本颜色,比如"#ff0000"。 textAlign: string 文本对齐方式,可选值:"left","center","right"。 lineWidth: number 镶边线条宽度。 border...

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

3. laya.ani.GraphicsAni_API3.0 [ 78%]

...绘制文本的 y 坐标位置(相对于画布)。 font: string 定义字体和字号,比如"20px Arial"。 fillColor: string 定义文本颜色,比如"#ff0000"。 textAlign: string 文本对齐方式,可选值:"left","center","right"。 lineWidth: number 镶边线条宽度。 border...

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

4. laya.display.Text_API3.0 [ 77%]

...对象以显示文本。 注意:如果运行时系统找不到设定的字体,则用系统默认的字体渲染文字,从而导致显示异常。(通常电脑上显示正常,在一些移动端因缺少设置的字体而显示异常)。 example package { import laya.display.Text; public class...

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

5. laya.ui.AutoBitmap_API3.0 [ 76%]

...绘制文本的 y 坐标位置(相对于画布)。 font: string 定义字体和字号,比如"20px Arial"。 fillColor: string 定义文本颜色,比如"#ff0000"。 textAlign: string 文本对齐方式,可选值:"left","center","right"。 lineWidth: number 镶边线条宽度。 border...

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

6. laya.display.cmd.FillTextCmd_API3.0 [ 74%]

...tring): void Defined in laya/display/cmd/FillTextCmd.ts:124 定义字号和字体,比如"20px Arial"。 Returns string Defined in laya/display/cmd/FillTextCmd.ts:128 定义字号和字体,比如"20px Arial"。 Parameters value: string Returns void stroke get stroke(): number set stroke(value: nu...

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

7. laya.display.css.TextStyle_API3.0 [ 73%]

... 文字颜色 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

8. laya.display.Input_API3.0 [ 62%]

...void Inherited from Text.font Defined in laya/display/Text.ts:362 文本的字体名称,以字符串形式表示。 默认值为:"Arial",可以通过Config.defaultFont设置默认字体。 如果运行时系统找不到设定的字体,则用系统默认的字体渲染文字,从而导致显...

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

9. laya.ui.ComboBox_API3.0 [ 53%]

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

10. laya.ui.Label_API3.0 [ 48%]

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