Table of Contents

Class SpriteFontContent

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly
MonoGame.Framework.Content.Pipeline.dll
public class SpriteFontContent
Inheritance
SpriteFontContent
Inherited Members

Constructors

SpriteFontContent(FontDescription?)

public SpriteFontContent(FontDescription? desc = null)

Parameters

desc FontDescription

Properties

CharacterMap

public List<char> CharacterMap { get; init; }

Property Value

List<char>

Cropping

public List<Rectangle> Cropping { get; init; }

Property Value

List<Rectangle>

DefaultCharacter

public char? DefaultCharacter { get; init; }

Property Value

char?

FontName

public string FontName { get; init; }

Property Value

string

FontSize

public float FontSize { get; init; }

Property Value

float

Glyphs

public List<Rectangle> Glyphs { get; init; }

Property Value

List<Rectangle>

HorizontalSpacing

public float HorizontalSpacing { get; init; }

Property Value

float

Kerning

public List<Vector3> Kerning { get; init; }

Property Value

List<Vector3>

Style

public FontDescriptionStyle Style { get; init; }

Property Value

FontDescriptionStyle

Texture

public Texture2DContent Texture { get; init; }

Property Value

Texture2DContent

VerticalLineSpacing

public int VerticalLineSpacing { get; set; }

Property Value

int