Tesla Graphics Engine Documentation (January 2012)
SpriteFont Constructor (texture, lineHeight, defaultChar)
Tesla
►
Tesla.Graphics
►
SpriteFont
►
SpriteFont(Texture2D, Int32, Glyph)
C#
Creates a new instance of
SpriteFont
.
Declaration Syntax
C#
public
SpriteFont
(
Texture2D
texture
,
int
lineHeight
,
Glyph
defaultChar
)
Parameters
texture
(
Texture2D
)
The font texture.
lineHeight
(
Int32
)
Line space between consecutive lines.
defaultChar
(
Glyph
)
The default character.
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)