C# Класс Nez.BatcherIFontExt

provides the full SpriteFont assortment of drawString methods
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

drawString() публичный статический Метод

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.
Результат void

drawString() публичный статический Метод

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.
Результат void

drawString() публичный статический Метод

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.
Результат void

drawString() публичный статический Метод

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.
Результат void

drawString() публичный статический Метод

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.
Результат void

drawString() публичный статический Метод

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.
Результат void