C# Class Nez.BatcherSpriteFontExt

helper methods for drawing text with NezSpriteFonts
Afficher le fichier Open project: prime31/Nez

Méthodes publiques

Méthode Description
drawString ( this batcher, NezSpriteFont spriteFont, StringBuilder text, Vector2 position, Color color ) : void
drawString ( this batcher, NezSpriteFont spriteFont, StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void
drawString ( this batcher, NezSpriteFont spriteFont, StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth ) : void
drawString ( this batcher, NezSpriteFont spriteFont, string text, Vector2 position, Color color ) : void
drawString ( this batcher, NezSpriteFont spriteFont, string text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void
drawString ( this batcher, NezSpriteFont spriteFont, string text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth ) : void

Method Details

drawString() public static méthode

public static drawString ( this batcher, NezSpriteFont spriteFont, StringBuilder text, Vector2 position, Color color ) : void
batcher this
spriteFont NezSpriteFont
text StringBuilder
position Vector2
color Color
Résultat void

drawString() public static méthode

public static drawString ( this batcher, NezSpriteFont spriteFont, StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void
batcher this
spriteFont NezSpriteFont
text StringBuilder
position Vector2
color Color
rotation float
origin Vector2
scale Vector2
effects SpriteEffects
layerDepth float
Résultat void

drawString() public static méthode

public static drawString ( this batcher, NezSpriteFont spriteFont, StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth ) : void
batcher this
spriteFont NezSpriteFont
text StringBuilder
position Vector2
color Color
rotation float
origin Vector2
scale float
effects SpriteEffects
layerDepth float
Résultat void

drawString() public static méthode

public static drawString ( this batcher, NezSpriteFont spriteFont, string text, Vector2 position, Color color ) : void
batcher this
spriteFont NezSpriteFont
text string
position Vector2
color Color
Résultat void

drawString() public static méthode

public static drawString ( this batcher, NezSpriteFont spriteFont, string text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void
batcher this
spriteFont NezSpriteFont
text string
position Vector2
color Color
rotation float
origin Vector2
scale Vector2
effects SpriteEffects
layerDepth float
Résultat void

drawString() public static méthode

public static drawString ( this batcher, NezSpriteFont spriteFont, string text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth ) : void
batcher this
spriteFont NezSpriteFont
text string
position Vector2
color Color
rotation float
origin Vector2
scale float
effects SpriteEffects
layerDepth float
Résultat void