学ぶ
エンジンデータ型
Font

*このコンテンツは、ベータ版のAI(人工知能)を使用して翻訳されており、エラーが含まれている可能性があります。このページを英語で表示するには、 こちら をクリックしてください。


概要
コンストラクタ
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(
family:Content, weight:FontWeight, style:Enum.FontStyle)
パラメータ
family:Content
weight:FontWeight
既定値: Enum.FontWeight.Regular
既定値: Enum.FontStyle.Normal

fromEnum
Font.fromEnum(font:Enum.Font)
パラメータ

fromName
Font.fromName(
name:string, weight:FontWeight, style:Enum.FontStyle)
パラメータ
name:string
weight:FontWeight
既定値: Enum.FontWeight.Regular
既定値: Enum.FontStyle.Normal

fromId
Font.fromId(
id:number, weight:FontWeight, style:Enum.FontStyle)
パラメータ
weight:FontWeight
既定値: Enum.FontWeight.Regular
既定値: Enum.FontStyle.Normal

プロパティ
Family
Font.Family:Content

Weight
Font.Weight:FontWeight

Style
Font.Style:Enum.FontStyle

Bold
Font.Bold:boolean

©2026 Roblox Corporation。Roblox(ロブロックス)、RobloxロゴおよびPowering Imaginationは、米国並びにその他の国における登録商標および非登録商標です。