C# Class Nez.BatcherIFontExt

provides the full SpriteFont assortment of drawString methods
Exibir arquivo Open project: prime31/Nez

Public Methods

Method Description
drawString ( this batcher, IFont font, StringBuilder text, Vector2 position, Color color ) : void

Submit a text string of sprites for drawing in the current batch.

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

Submit a text string of sprites for drawing in the current batch.

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

Submit a text string of sprites for drawing in the current batch.

drawString ( this batcher, IFont font, string text, Vector2 position, Color color ) : void

Submit a text string of sprites for drawing in the current batch.

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

Submit a text string of sprites for drawing in the current batch.

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

Submit a text string of sprites for drawing in the current batch.

Method Details

drawString() public static method

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.
return void

drawString() public static method

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, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void
batcher this Batcher.
font IFont Font.
text StringBuilder Text.
position Vector2 Position.
color Color Color.
rotation float Rotation.
origin Vector2 Origin.
scale Vector2 Scale.
effects SpriteEffects Effects.
layerDepth float Layer depth.
return void

drawString() public static method

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, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth ) : void
batcher this Batcher.
font IFont Font.
text StringBuilder Text.
position Vector2 Position.
color Color Color.
rotation float Rotation.
origin Vector2 Origin.
scale float Scale.
effects SpriteEffects Effects.
layerDepth float Layer depth.
return void

drawString() public static method

Submit a text string of sprites for drawing in the current batch.
public static drawString ( this batcher, IFont font, string text, Vector2 position, Color color ) : void
batcher this Batcher.
font IFont Font.
text string Text.
position Vector2 Position.
color Color Color.
return void

drawString() public static method

Submit a text string of sprites for drawing in the current batch.
public static drawString ( this batcher, IFont font, string text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void
batcher this Batcher.
font IFont Font.
text string Text.
position Vector2 Position.
color Color Color.
rotation float Rotation.
origin Vector2 Origin.
scale Vector2 Scale.
effects SpriteEffects Effects.
layerDepth float Layer depth.
return void

drawString() public static method

Submit a text string of sprites for drawing in the current batch.
public static drawString ( this batcher, IFont font, string text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth ) : void
batcher this Batcher.
font IFont Font.
text string Text.
position Vector2 Position.
color Color Color.
rotation float Rotation.
origin Vector2 Origin.
scale float Scale.
effects SpriteEffects Effects.
layerDepth float Layer depth.
return void