Table of Contents

Struct LoadBMFontFromResource

Namespace
BSGameLib.Game.Fonts
Assembly
BSGameLib.Game.dll

Loads a BMFont whose .fnt file and page images are embedded resources.

public readonly record struct LoadBMFontFromResource : IFontParameters, IEquatable<LoadBMFontFromResource>
Implements
Inherited Members

Constructors

LoadBMFontFromResource(string, string, string[])

Loads a BMFont whose .fnt file and page images are embedded resources.

public LoadBMFontFromResource(string AssemblyName, string ResourceName, string[] ImageResourceNames)

Parameters

AssemblyName string

The name of the assembly that holds the resources. It is loaded if it is not already.

ResourceName string

The manifest name of the embedded .fnt resource.

ImageResourceNames string[]

The manifest names of the embedded page images. Each page is matched to the first name that contains the page's file name.

Properties

AssemblyName

The name of the assembly that holds the resources. It is loaded if it is not already.

public string AssemblyName { get; init; }

Property Value

string

ImageResourceNames

The manifest names of the embedded page images. Each page is matched to the first name that contains the page's file name.

public string[] ImageResourceNames { get; init; }

Property Value

string[]

ResourceName

The manifest name of the embedded .fnt resource.

public string ResourceName { get; init; }

Property Value

string