Font
*此內容是使用 AI(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