CTor
DTor
Postblit is disabled
Copying this object is disabled.
Returns the current Font style.
Load the font from a file. Returns if the loading was successful. If not, an error message is shown, which describes the problem. If the second parameter isn't 0, the current font size will be replaced with that. If the current size is also 0, the DefaultSize (10) will be used.
Draws the text on a Surface by using this Font and the given Mode (default is Mode.Solid) The text (and the Surface) is colorized by fg / bg Color.
Set the Font style.
The default size of every Font is 10
Font is the low-level class for loading and manipulating character fonts. This class is meant to be used by Dgame.Graphic.Text.