private CheckValid ( |
||
spriteFont | ||
text | string | |
Résultat | void |
void CheckValid(SpriteFont spriteFont, string text)
{
if (spriteFont == null)
throw new ArgumentNullException("spriteFont");
if (text == null)
throw new ArgumentNullException("text");
if (!_beginCalled)
throw new InvalidOperationException("DrawString was called, but Begin has not yet been called. Begin must be called successfully before you can call DrawString.");
}
SpriteBatch::CheckValid ( |
|
SpriteBatch::CheckValid ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void |