C# Class MilkShakeFramework.Tools.Utils.TextureUtils

Datei anzeigen Open project: lucas-jones/MilkShake-old

Public Methods

Method Description
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

Method Details

GenerateTexture() public static method

public static GenerateTexture ( int width, int height, Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
color Color
return Microsoft.Xna.Framework.Graphics.Texture2D

GenerateTexureWithBorder() public static method

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
return Microsoft.Xna.Framework.Graphics.Texture2D