C# Класс Divine_Right.HelperFunctions.Extensions

Показать файл Открыть проект

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

Метод Описание
Draw ( this batch, Microsoft.Xna.Framework.Content.ContentManager content, SpriteData data, Rectangle drawRect, Color colour ) : void
DrawString ( this batch, SpriteFont font, string text, Rectangle bounds, Alignment align, Color color ) : void

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

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

public static Draw ( this batch, Microsoft.Xna.Framework.Content.ContentManager content, SpriteData data, Rectangle drawRect, Color colour ) : void
batch this
content Microsoft.Xna.Framework.Content.ContentManager
data DRObjects.Graphics.SpriteData
drawRect Microsoft.Xna.Framework.Rectangle
colour Color
Результат void

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

public static DrawString ( this batch, SpriteFont font, string text, Rectangle bounds, Alignment align, Color color ) : void
batch this
font Microsoft.Xna.Framework.Graphics.SpriteFont
text string
bounds Microsoft.Xna.Framework.Rectangle
align Alignment
color Color
Результат void