C# Class Nez.BatcherIFontExt

provides the full SpriteFont assortment of drawString methods
Afficher le fichier Open project: prime31/Nez

Méthodes publiques

Méthode 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 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

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, 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.
Résultat void

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, 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.
Résultat void

drawString() public static méthode

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.
Résultat void

drawString() public static méthode

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.
Résultat void

drawString() public static méthode

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.
Résultat void