C# Класс MilkShakeFramework.Tools.Utils.TextureUtils

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

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

Метод Описание
GenerateTexture ( int width, int height, Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D
GenerateTexureWithBorder ( int width, int height, Color color, int borderThickness, Color borderColor ) : Microsoft.Xna.Framework.Graphics.Texture2D

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

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

public static GenerateTexture ( int width, int height, Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
color Color
Результат Microsoft.Xna.Framework.Graphics.Texture2D

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

public static GenerateTexureWithBorder ( int width, int height, Color color, int borderThickness, Color borderColor ) : Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
color Color
borderThickness int
borderColor Color
Результат Microsoft.Xna.Framework.Graphics.Texture2D