Table of Contents

Class FontHelper

Namespace
Stride.Graphics.Font
Assembly
Stride.Graphics.dll
public static class FontHelper
Inheritance
FontHelper

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

fontName string

Family name of the font

style FontStyle

The style of the font

Returns

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.