Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    FontHelper Class

    Namespace: Stride.Graphics.Font
    Assembly: 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.

    | Improve this Doc View Source

    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.


    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation