Namespace BSGameLib.Game.Fonts
Structs
- LoadBMFontFromFile
Loads a BMFont from a
.fntfile. Its page images are read relative to the folder of the font file.
- LoadBMFontFromResource
Loads a BMFont whose
.fntfile and page images are embedded resources.
- LoadBMFontFromStream
Loads a BMFont from the text of a
.fntfile read from a stream. Its page images are read fromPageFolder, or from the working directory when it is null.
- LoadTrueTypeFontFromFile
Loads a TrueType or OpenType font from a file.
- LoadTrueTypeFontFromStream
Loads a TrueType or OpenType font from a stream. The font is read from the stream when it is created, and does not keep the stream.
Interfaces
- IFont
A font that text can be measured and drawn in. Fonts are created through IContentManager.
- IFontFactoryProvider
Finds the font factory for a kind of parameters, and creates fonts through it.
- IFontFactory<TFontParameters>
Creates fonts from one kind of parameters. A font library registers one factory for each parameter type it accepts.
- IFontParameters
Marks a type that describes a font to load, such as LoadBMFontFromFile or LoadTrueTypeFontFromFile.