Edukacja
Typ danych silnika
Font

*Ta zawartość została przetłumaczona przy użyciu narzędzi AI (w wersji beta) i może zawierać błędy. Aby wyświetlić tę stronę w języku angielskim, kliknij tutaj.


Podsumowanie
Konstruktorzy
new(family: Content,weight: FontWeight,style: Enum.FontStyle)
fromName(name: string,weight: FontWeight,style: Enum.FontStyle)
fromId(id: number,weight: FontWeight,style: Enum.FontStyle)

Materiały referencyjne dotyczące interfejsów API
Konstruktorzy
new
Font.new(
family:Content, weight:FontWeight, style:Enum.FontStyle)
Parametry
family:Content
weight:FontWeight
Wartość domyślna: Enum.FontWeight.Regular
Wartość domyślna: Enum.FontStyle.Normal

fromEnum
Font.fromEnum(font:Enum.Font)
Parametry

fromName
Font.fromName(
name:string, weight:FontWeight, style:Enum.FontStyle)
Parametry
name:string
weight:FontWeight
Wartość domyślna: Enum.FontWeight.Regular
Wartość domyślna: Enum.FontStyle.Normal

fromId
Font.fromId(
id:number, weight:FontWeight, style:Enum.FontStyle)
Parametry
weight:FontWeight
Wartość domyślna: Enum.FontWeight.Regular
Wartość domyślna: Enum.FontStyle.Normal

Właściwości
Family
Font.Family:Content

Weight
Font.Weight:FontWeight

Style
Font.Style:Enum.FontStyle

Bold
Font.Bold:boolean

©2026 Roblox Corporation. Nazwa Roblox, logo Roblox oraz hasło „Powering Imagination” należą do naszych zarejestrowanych i niezarejestrowanych znaków towarowych na terenie Stanów Zjednoczonych oraz w innych krajach.