| UIRendererGetFont 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 public SpriteFont GetFont(
string name
)
Public Function GetFont (
name As String
) As SpriteFont
public:
virtual SpriteFont^ GetFont(
String^ name
) sealed
abstract GetFont :
name : string -> SpriteFont
override 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.
Implements
IUIRendererGetFont(String)See Also