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

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

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.BitmapFont_API3.0 [ 90%]

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

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

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

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

4. laya.utils.FontInfo_API3.0 [ 81%]

...nt setFont(value: string): void Defined in laya/utils/FontInfo.ts:41 设置字体格式 Parameters value: string Returns void Static parse parse(font: string): FontInfo Defined in laya/utils/FontInfo.ts:9 解析字体模型 Parameters font: string Returns FontInfo Globals "laya/utils/FontInfo" FontI...

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

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

6. laya.ui.FontClip_API3.0 [ 72%]

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

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

7. Config_API3.0 [ 68%]

...tFamilyMap fontFamilyMap: object Defined in Config.ts:75 在IOS下,一些字体会找不到,引擎提供了字体映射功能,比如默认会把 "黑体" 映射为 "黑体-简",更多映射,可以自己添加 兰亭黑 兰亭黑: string = "兰亭黑-简" Defined in Config.ts:75 凌慧体 ...

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

8. laya.display.Graphics_API3.0 [ 67%]

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

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

9. laya.ani.GraphicsAni_API3.0 [ 65%]

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

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

10. laya.html.dom.HTMLDivElement_API3.0 [ 64%]

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