FontHelper Class
Namespace: Stride.Graphics.FontAssembly: Stride.Graphics.dll
                 System.Object →  
                FontHelper
              
              
                 Derived from FontHelper: 
              
              
              
public static class FontHelper
              | Name | Description | |
|---|---|---|
| Methods | ||
| GetFontPath(String, FontStyle) | Build the path of a font in the database given the name of the font family and the font style.  | 
                          |
Methods
GetFontPath(String, FontStyle)
Build the path of a font in the database given the name of the font family and the font style.
public static string GetFontPath(string fontName, FontStyle style)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | fontName | Family name of the font  | 
                  
| FontStyle | style | The style of the font  | 
                  
Returns
| Type | Description | 
|---|---|
| System.String | The absolute path of the font in the database  | 
                  
Remarks
This function does not indicate it the font exists or not in the database.