Struct LoadBMFontFromResource
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
AssemblyNamestringThe name of the assembly that holds the resources. It is loaded if it is not already.
ResourceNamestringThe manifest name of the embedded
.fntresource.ImageResourceNamesstring[]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
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; }