概要
构造工具
new(family: Content,weight: Enum.FontWeight,style: Enum.FontStyle) |
fromName(name: string,weight: Enum.FontWeight,style: Enum.FontStyle) |
fromId(id: number,weight: Enum.FontWeight,style: Enum.FontStyle) |
API 参考
构造工具
new
Font.new(
参数
| 默认值:Enum.FontWeight.Regular |
| 默认值:Enum.FontStyle.Normal |
fromName
Font.fromName(
参数
| 默认值:Enum.FontWeight.Regular |
| 默认值:Enum.FontStyle.Normal |
fromId
Font.fromId(
参数
| 默认值:Enum.FontWeight.Regular |
| 默认值:Enum.FontStyle.Normal |
属性