Click or drag to resize
DigitalRuneTextSprite Constructor (Object, SpriteFont)
Initializes a new instance of the TextSprite class.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public TextSprite(
	Object text,
	SpriteFont font
)

Parameters

text
Type: SystemObject
The text. See Text for more information.
font
Type: SpriteFont
The font.
See Also