Nez.BatcherIFontExt.drawString C# (CSharp) Méthode

drawString() public static méthode

Submit a text string of sprites for drawing in the current batch.
public static drawString ( this batcher, IFont font, StringBuilder text, Vector2 position, Color color ) : void
batcher this Batcher.
font IFont Font.
text StringBuilder Text.
position Vector2 Position.
color Color Color.
Résultat void
		public static void drawString( this Batcher batcher, IFont font, StringBuilder text, Vector2 position, Color color )
		{
			batcher.drawString( font, text, position, color, 0.0f, Vector2.Zero, new Vector2( 1.0f ), SpriteEffects.None, 0.0f );
		}

Same methods

BatcherIFontExt::drawString ( this batcher, IFont font, StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void
BatcherIFontExt::drawString ( this batcher, IFont font, StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth ) : void
BatcherIFontExt::drawString ( this batcher, IFont font, string text, Vector2 position, Color color ) : void
BatcherIFontExt::drawString ( this batcher, IFont font, string text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void
BatcherIFontExt::drawString ( this batcher, IFont font, string text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth ) : void
BatcherIFontExt