Font
*此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按 此处。
摘要
构造工具
new(family: Content,weight: FontWeight,style: Enum.FontStyle) |
fromName(name: string,weight: FontWeight,style: Enum.FontStyle) |
fromId(id: number,weight: FontWeight,style: Enum.FontStyle) |
API 参考
构造工具
new
Font. new(
参数
weight:FontWeight 默认值:Enum.FontWeight.Regular |
| 默认值:Enum.FontStyle.Normal |
from Name
Font. from Name(
参数
weight:FontWeight 默认值:Enum.FontWeight.Regular |
| 默认值:Enum.FontStyle.Normal |
from Id
Font. from Id(
参数
weight:FontWeight 默认值:Enum.FontWeight.Regular |
| 默认值:Enum.FontStyle.Normal |
属性
Weight
Font. Weight:FontWeight