  | TextSprite Constructor (Object, SpriteFont) | 
            Initializes a new instance of the 
TextSprite class.
            
 
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxpublic TextSprite(
	Object text,
	SpriteFont font
)
Public Sub New ( 
	text As Object,
	font As SpriteFont
)
public:
TextSprite(
	Object^ text, 
	SpriteFont^ font
)
new : 
        text : Object * 
        font : SpriteFont -> TextSpriteParameters
- text
 - Type: SystemObject
The text. See Text for more information. - font
 - Type: SpriteFont
The font. 
See Also