Fontデータ型
データ型日本語解説は準備中
ひとことで言うと
Fontは、ロブロックス(Roblox)のデータ型です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Describes the font used to render text.
コンストラクター(作り方)(4)
| 名前と書き方 | 説明 |
|---|---|
newFont.new(family: Content, weight: FontWeight, style: FontStyle) | Creates a new Font. |
fromEnumFont.fromEnum(font: Font) | Creates a Font from an Font value. |
fromNameFont.fromName(name: string, weight: FontWeight, style: FontStyle) | Creates a Font from a name like FredokaOne. |
fromIdFont.fromId(id: number, weight: FontWeight, style: FontStyle) | Creates a Font from a numerical asset ID. |
プロパティ(4)
| 名前と書き方 | 説明 |
|---|---|
FamilyFont.Family: Content | The asset ID for the font family. |
WeightFont.Weight: FontWeight | How thick the text is. |
StyleFont.Style: FontStyle | Whether the font is italic. |
BoldFont.Bold: bool | Whether the font is bold. |
英語の説明とメンバーの一覧は、Roblox Creator Documentation(Font)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。