Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.UI.vxFontPack Class Reference

This loads and holds a Font Pack for a number of different font sizes. It wil hold sizes of 12, 16, 20, 24 and 36. You must have your fonts in the path you sent to the constructor labeled as 'font_12' 'font_16' etc... More...

Public Member Functions

 vxFontPack (string path, string loc="en")
 Initializes a new instance of the T:VerticesEngine.UI.vxFont class.
 

Public Attributes

SpriteFont Size08
 
SpriteFont Size10
 
SpriteFont Size12
 
SpriteFont Size16
 
SpriteFont Size20
 
SpriteFont Size24
 
SpriteFont Size36
 
SpriteFont Size48
 
SpriteFont Size64
 
SpriteFont Size72
 
SpriteFont Size96
 
SpriteFont Size108
 

Detailed Description

This loads and holds a Font Pack for a number of different font sizes. It wil hold sizes of 12, 16, 20, 24 and 36. You must have your fonts in the path you sent to the constructor labeled as 'font_12' 'font_16' etc...

Constructor & Destructor Documentation

◆ vxFontPack()

VerticesEngine.UI.vxFontPack.vxFontPack ( string path,
string loc = "en" )

Initializes a new instance of the T:VerticesEngine.UI.vxFont class.

Parameters
pathThe path to the folder containing the font packs. Files must be written as font_en_12.xnb, font_en_16.xnb etc... from 8 to 64
locThe localization key. The default is "en"

The documentation for this class was generated from the following file: