| IUIRendererGetFont Method |
Gets a sprite font.
Namespace: DigitalRune.Game.UI.RenderingAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax SpriteFont GetFont(
string name
)
Function GetFont (
name As String
) As SpriteFont
SpriteFont^ GetFont(
String^ name
)
abstract GetFont :
name : string -> SpriteFont
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:
SpriteFontThe font.
See Also