@rbxts/types 1.0.645 → 1.0.646
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/roblox.d.ts +2 -0
- package/package.json +1 -1
package/include/roblox.d.ts
CHANGED
|
@@ -1527,6 +1527,8 @@ interface Font {
|
|
|
1527
1527
|
interface FontConstructor {
|
|
1528
1528
|
new (family: string, weight?: Enum.FontWeight, style?: Enum.FontStyle): Font;
|
|
1529
1529
|
fromEnum: (value: Enum.Font) => Font;
|
|
1530
|
+
fromName: (name: string, weight?: Enum.FontWeight, style?: Enum.FontStyle) => Font;
|
|
1531
|
+
fromId: (id: number, weight?: Enum.FontWeight, style?: Enum.FontStyle) => Font;
|
|
1530
1532
|
}
|
|
1531
1533
|
declare const Font: FontConstructor;
|
|
1532
1534
|
|