Click or drag to resize
DigitalRuneUIRendererGetFont Method
Gets a sprite font.

Namespace: DigitalRune.Game.UI.Rendering
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public SpriteFont GetFont(
	string name
)

Parameters

name
Type: SystemString
The name of the font. This name is any string - usually the asset name - that identifies the font, e.g. "Console". Can be to get the default font.

Return Value

Type: SpriteFont
The font.

Implements

IUIRendererGetFont(String)
See Also