| 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)
Syntax public 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 -> TextSprite
Parameters
- text
- Type: SystemObject
The text. See Text for more information. - font
- Type: SpriteFont
The font.
See Also