mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
19 lines
446 B
C#
19 lines
446 B
C#
using AssetRipper.SourceGenerated.Classes.ClassID_128;
|
|
using AssetRipper.SourceGenerated.Enums;
|
|
|
|
namespace AssetRipper.SourceGenerated.Extensions
|
|
{
|
|
public static class FontExtensions
|
|
{
|
|
public static FontStyle GetDefaultStyle(this IFont font)
|
|
{
|
|
return (FontStyle)font.DefaultStyle_C128;
|
|
}
|
|
|
|
public static FontRenderingMode GetFontRenderingMode(this IFont font)
|
|
{
|
|
return (FontRenderingMode)font.FontRenderingMode_C128;
|
|
}
|
|
}
|
|
}
|