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

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

1. laya.display.BitmapFont_API3.0 [ 100%]

... "laya/display/BitmapFont" BitmapFont Class BitmapFont BitmapFont 是位图字体类,用于定义位图字体信息。 字体制作及使用方法,请参考文章 see http://ldc2.layabox.com/doc/?nav=ch-js-1-2-5 Hierarchy Resource BitmapFont Index Constructors constructor Properties _id autoScal...

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

2. laya.display.Text_API3.0 [ 89%]

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

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

3. laya.display.Input_API3.0 [ 77%]

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

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

4. laya.ui.Label_API3.0 [ 64%]

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

5. laya.ui.FontClip_API3.0 [ 64%]

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

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

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

...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 [ 64%]

... 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.ComboBox_API3.0 [ 60%]

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

9. laya.display.Graphics_API3.0 [ 59%]

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

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

10. laya.ani.GraphicsAni_API3.0 [ 57%]

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

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