Used with DynamicFont to describe the location of a font file.
    public class DynamicFontData : Resource

Used with DynamicFont to describe the location of a vector font file for dynamic rendering at runtime.

Inheritance Chain

Constructors

    public DynamicFontData()

Properties

    public bool Antialiased { get; set; }

Controls whether the font should be rendered with anti-aliasing.

    public string FontPath { get; set; }

The path to the vector font file.

    public HintingEnum Hinting { get; set; }

The font hinting mode used by FreeType.

Methods

    [Obsolete("GetFontPath is deprecated. Use the FontPath property instead.")]
    public string GetFontPath()

Getter for FontPath

    [Obsolete("GetHinting is deprecated. Use the Hinting property instead.")]
    public HintingEnum GetHinting()

Getter for Hinting

    [Obsolete("IsAntialiased is deprecated. Use the Antialiased property instead.")]
    public bool IsAntialiased()

Getter for Antialiased

    [Obsolete("SetAntialiased is deprecated. Use the Antialiased property instead.")]
    public void SetAntialiased(bool antialiased)

Setter for Antialiased

    [Obsolete("SetFontPath is deprecated. Use the FontPath property instead.")]
    public void SetFontPath(string path)

Setter for FontPath

    [Obsolete("SetHinting is deprecated. Use the Hinting property instead.")]
    public void SetHinting(HintingEnum mode)

Setter for Hinting

Inner Types

HintingEnum

Name Value Description
None 0 Disables font hinting (smoother but less crisp).
Light 1 Use the light font hinting mode.
Normal 2 Use the default font hinting mode (crisper but less smooth).
Tags: